diff options
author | attilio <attilio@FreeBSD.org> | 2013-12-02 22:34:47 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-12-02 22:34:47 +0000 |
commit | b07191879f76139f3566e59eff6486140b735878 (patch) | |
tree | 98cb33d360b17393e49c674384b0c432ab1591e9 /sys/amd64/vmm/vmm_lapic.c | |
parent | 23959fb966a47efaa57b50c709a012e99439e601 (diff) | |
download | FreeBSD-src-b07191879f76139f3566e59eff6486140b735878.zip FreeBSD-src-b07191879f76139f3566e59eff6486140b735878.tar.gz |
Right now LOCK_DEBUG is enabled if KTR is on.
This is to support LOCK_LOG_* functionality effectively in debugging
environments but it is overkill because really LOCK_DEBUG should be on
only if (KTR_COMPILE & KTR_LOCK) is true.
Fix this by applying the correct logic.
In this process, move the KTR classes to its own header to reduce
namespace pollution.
Sponsored by: EMC / Isilon storage division
Reviewed by: jhb
Diffstat (limited to 'sys/amd64/vmm/vmm_lapic.c')
0 files changed, 0 insertions, 0 deletions