1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167046

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