From 440d4c6cfad24426bfddca7518f16c17f4e443f7 Mon Sep 17 00:00:00 2001 From: Apple Date: Fri, 24 Aug 2012 20:37:45 +0000 Subject: [PATCH] xnu-2050.9.2.tar.gz --- config/MasterVersion | 2 +- iokit/Kernel/IOServicePM.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/MasterVersion b/config/MasterVersion index 1bf9f8818..7b10c32ce 100644 --- a/config/MasterVersion +++ b/config/MasterVersion @@ -1,4 +1,4 @@ -12.0.0 +12.1.0 # The first line of this file contains the master version number for the kernel. # All other instances of the kernel version in xnu are derived from this file. diff --git a/iokit/Kernel/IOServicePM.cpp b/iokit/Kernel/IOServicePM.cpp index 814a402ef..3c76e4d09 100644 --- a/iokit/Kernel/IOServicePM.cpp +++ b/iokit/Kernel/IOServicePM.cpp @@ -1049,7 +1049,7 @@ void IOService::addPowerChild3 ( IOPMRequest * request ) if (child && inPlane(gIOPowerPlane)) { - if (child->getProperty("IOPMStrictTreeOrder")) + if ((this != rootDomain) && child->getProperty("IOPMStrictTreeOrder")) { PM_LOG1("%s: strict PM order enforced\n", getName()); fStrictTreeOrder = true; @@ -3487,8 +3487,8 @@ void IOService::notifyChildrenOrdered ( void ) { IOPowerConnection * connection; connection = (IOPowerConnection *) fNotifyChildArray->getObject(0); - fNotifyChildArray->removeObject(0); notifyChild( connection ); + fNotifyChildArray->removeObject(0); } else { @@ -3779,7 +3779,6 @@ bool IOService::notifyChild ( IOPowerConnection * theNub ) theChild = (IOService *)(theNub->copyChildEntry(gIOPowerPlane)); if (!theChild) { - assert(false); return true; } -- 2.45.2