Replace spaces with tabs in some places.

This commit is contained in:
Pawel Jakub Dawidek 2007-02-27 01:48:58 +00:00
parent ef2374f700
commit 3ad48efa4a

View File

@ -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 { \