From: Apple Date: Fri, 24 Aug 2012 20:37:45 +0000 (+0000) Subject: xnu-2050.9.2.tar.gz X-Git-Tag: mac-os-x-1081^0 X-Git-Url: https://git.saurik.com/apple/xnu.git/commitdiff_plain/440d4c6cfad24426bfddca7518f16c17f4e443f7?ds=sidebyside xnu-2050.9.2.tar.gz --- 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; }