git: acpica: Start task thread after all children of acpi are attached

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Feb 15 05:51:07 PST 2014


commit bde01544da1b46ed50004711971c2de5fc8b3a91
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sat Feb 15 21:37:44 2014 +0800

    acpica: Start task thread after all children of acpi are attached
    
    So driver's post attach callback will run only after all devices of the
    driver are properly attached.  Even when some devices' attach path is
    blocked or moved to other CPU.

Summary of changes:
 sys/dev/acpica/Osd/OsdSchedule.c | 10 +++++++++-
 sys/dev/acpica/acpi.c            |  1 +
 sys/dev/acpica/acpivar.h         |  3 ++-
 3 files changed, 12 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bde01544da1b46ed50004711971c2de5fc8b3a91


-- 
DragonFly BSD source repository



More information about the Commits mailing list