acpica: Use only one #ifdef _KERNEL ... and use 'inline' directly.
authorSascha Wildner <saw@online.de>
Tue, 20 May 2014 17:57:49 +0000 (19:57 +0200)
committerSascha Wildner <saw@online.de>
Tue, 20 May 2014 17:57:49 +0000 (19:57 +0200)
sys/contrib/dev/acpica/source/include/platform/acdragonfly.h

index 20531cf..6d43539 100644 (file)
 #include <machine/acpica_machdep.h>
 
 #define ACPI_UINTPTR_T         uintptr_t
-
-#ifdef _KERNEL
-#include "opt_acpi.h"
-#endif
-
 #define ACPI_USE_DO_WHILE_0
 
 #ifdef _KERNEL
 
+#include "opt_acpi.h"
 #include <sys/ctype.h>
 #include <sys/systm.h>
 #include <stdarg.h>
@@ -200,6 +196,4 @@ struct acpicache;
 
 #endif /* _KERNEL */
 
-#define inline         __inline
-
 #endif /* __ACDRAGONFLY_H_ */