summaryrefslogtreecommitdiffstats
path: root/sys/arm/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-10-19 19:28:18 +0000
committerjhb <jhb@FreeBSD.org>2001-10-19 19:28:18 +0000
commit079e2fd6e841f065f8a04eaeafad172fa4bbd0d1 (patch)
tree99db920e4ea6834b3c98d18c5e434a9c736c1558 /sys/arm/include
parentd0bdf2ae5d42ad351222b5f6f7546578d79cfbe9 (diff)
downloadFreeBSD-src-079e2fd6e841f065f8a04eaeafad172fa4bbd0d1.zip
FreeBSD-src-079e2fd6e841f065f8a04eaeafad172fa4bbd0d1.tar.gz
- Move the definition of LOCK_DEBUG back to sys/lock.h from sys/_lock.h.
- Change LOCK_DEBUG so that it is always on if KTR is compiled in regardless of the state of KTR_COMPILE. This means that we no longer need to include sys/ktr.h before sys/lock.h to ensure a valid setting for LOCK_DEBUG. - Change the use of LOCK_DEBUG so that it is now always defined and its value is used instead of merely its definition. That is, instead of #ifdef LOCK_DEBUG, code should now use #if LOCK_DEBUG > 0. - Use this latest to #error out in sys/mutex.h if sys/lock.h isn't included before sys/mutex.h to ensure that the proper versions of the mutex operations are used. - As a result of (2) sys/mutex.h no longer includes sys/ktr.h in the KERNEL case. Requested by: bde (1)
Diffstat (limited to 'sys/arm/include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud