X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/d41d1dae2cd00cc08c7982087d1c445180cad9f5..060df5ea7c632b1ac8cc8aac1fb59758165c2084:/iokit/Kernel/IOPlatformExpert.cpp diff --git a/iokit/Kernel/IOPlatformExpert.cpp b/iokit/Kernel/IOPlatformExpert.cpp index 8109e190e..f00ffd725 100644 --- a/iokit/Kernel/IOPlatformExpert.cpp +++ b/iokit/Kernel/IOPlatformExpert.cpp @@ -25,9 +25,6 @@ * * @APPLE_OSREFERENCE_LICENSE_HEADER_END@ */ -/* - * HISTORY - */ #include #include @@ -373,6 +370,7 @@ PMLog(const char *who, unsigned long event, unsigned long param1, unsigned long param2) { UInt32 debugFlags = gIOKitDebug; + UInt32 traceFlags = gIOKitTrace; if (debugFlags & kIOLogPower) { @@ -385,7 +383,7 @@ PMLog(const char *who, unsigned long event, nowus, current_thread(), who, // Identity (int) event, (long) param1, (long) param2); // Args - if (debugFlags & kIOLogTracePower) { + if (traceFlags & kIOTracePowerMgmt) { static const UInt32 sStartStopBitField[] = { 0x00000000, 0x00000040 }; // Only Program Hardware so far