git: kernel/acpi: Remove the redefinition of kthread_create().

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 4 11:10:06 PDT 2012


commit 197058e7abec46e3d6db85273f18d89b32dae201
Author: Sascha Wildner <saw at online.de>
Date:   Wed Apr 4 20:09:14 2012 +0200

    kernel/acpi: Remove the redefinition of kthread_create().
    
    It's a relict from an old pile of #ifdefs that defined various
    incarnations of kthread_create()s for various FreeBSD versions.
    The #ifdefs have since been removed and this #define is what
    used to be the __DragonFly__ case.
    
    There are only 3 places where kthread_create() is used in ACPI,
    so remove it because it's just confusing.
    
    While here, fix a non-constant format string in one of the
    kthread_create()s.

Summary of changes:
 sys/dev/acpica5/Osd/OsdSchedule.c |    4 +---
 sys/dev/acpica5/acpi_thermal.c    |    8 +++-----
 sys/dev/acpica5/acpivar.h         |    1 -
 3 files changed, 4 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/197058e7abec46e3d6db85273f18d89b32dae201


-- 
DragonFly BSD source repository





More information about the Commits mailing list