git: acpi: Clean up acdragonfly.h a bit.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Feb 11 09:37:46 PST 2014


commit 09b1df73a086933edba2fd8977b8e745edc16245
Author: Sascha Wildner <saw at online.de>
Date:   Tue Feb 11 18:24:12 2014 +0100

    acpi: Clean up acdragonfly.h a bit.
    
    * Add ACPI_USE_DO_WHILE_0 to enclose (debug) macros in a do {} while (0)
      loop per our style(9).
    
    * Remove unused __cli() and __sti().
    
    * Shuffle things around a bit to reduce #ifdef _KERNEL ... sections.

Summary of changes:
 sys/dev/acpica/acdragonfly.h | 43 +++++++++++++++++++------------------------
 1 file changed, 19 insertions(+), 24 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/09b1df73a086933edba2fd8977b8e745edc16245


-- 
DragonFly BSD source repository



More information about the Commits mailing list