diff options
author | pjd <pjd@FreeBSD.org> | 2007-02-27 01:48:58 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-02-27 01:48:58 +0000 |
commit | 287d98b31494076889395f1f1b2bfa8669d4058f (patch) | |
tree | de5d325e79e74298571bc34f9b4723050d27dec7 /sys/sys/mutex.h | |
parent | 7eb821d885e98115ff7a592adc00c4dbc05109cc (diff) | |
download | FreeBSD-src-287d98b31494076889395f1f1b2bfa8669d4058f.zip FreeBSD-src-287d98b31494076889395f1f1b2bfa8669d4058f.tar.gz |
Replace spaces with tabs in some places.
Diffstat (limited to 'sys/sys/mutex.h')
-rw-r--r-- | sys/sys/mutex.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/sys/mutex.h b/sys/sys/mutex.h index bf8ad56..cec365b 100644 --- a/sys/sys/mutex.h +++ b/sys/sys/mutex.h @@ -156,13 +156,13 @@ void _mtx_assert(struct mtx *m, int what, const char *file, int line); #ifndef _get_sleep_lock #define _get_sleep_lock(mp, tid, opts, file, line) do { \ uintptr_t _tid = (uintptr_t)(tid); \ - int contested = 0; \ - uint64_t waittime = 0; \ + int contested = 0; \ + uint64_t waittime = 0; \ if (!_obtain_lock((mp), _tid)) { \ lock_profile_obtain_lock_failed(&(mp)->mtx_object, &contested, &waittime); \ _mtx_lock_sleep((mp), _tid, (opts), (file), (line)); \ - } \ - lock_profile_obtain_lock_success(&(mp)->mtx_object, contested, waittime, file, line);\ + } \ + lock_profile_obtain_lock_success(&(mp)->mtx_object, contested, waittime, file, line); \ } while (0) #endif @@ -177,7 +177,7 @@ void _mtx_assert(struct mtx *m, int what, const char *file, int line); #ifdef SMP #define _get_spin_lock(mp, tid, opts, file, line) do { \ uintptr_t _tid = (uintptr_t)(tid); \ - int contested = 0; \ + int contested = 0; \ uint64_t waittime = 0; \ spinlock_enter(); \ if (!_obtain_lock((mp), _tid)) { \ @@ -186,9 +186,9 @@ void _mtx_assert(struct mtx *m, int what, const char *file, int line); else { \ lock_profile_obtain_lock_failed(&(mp)->mtx_object, &contested, &waittime); \ _mtx_lock_spin((mp), _tid, (opts), (file), (line)); \ - } \ + } \ } \ - lock_profile_obtain_lock_success(&(mp)->mtx_object, contested, waittime, file, line);\ + lock_profile_obtain_lock_success(&(mp)->mtx_object, contested, waittime, file, line); \ } while (0) #else /* SMP */ #define _get_spin_lock(mp, tid, opts, file, line) do { \ |