aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-06-12 20:42:08 -0400
committerLen Brown <len.brown@intel.com>2009-06-12 20:50:38 -0400
commit4a7a16dc061e4c57bf288150f51bd4c2ace33723 (patch)
tree34bd1b25321269b8ad8a172e03655db2a28ecca7 /init
parentc4bf2f372db09ef8d16a25a60d523bfa1c50f7b5 (diff)
ACPI: move declaration acpi_early_init() to acpi.h
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'init')
-rw-r--r--init/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/init/main.c b/init/main.c
index d721dad05dd7..f1b9f0fdb1b4 100644
--- a/init/main.c
+++ b/init/main.c
@@ -24,6 +24,7 @@
24#include <linux/smp_lock.h> 24#include <linux/smp_lock.h>
25#include <linux/initrd.h> 25#include <linux/initrd.h>
26#include <linux/bootmem.h> 26#include <linux/bootmem.h>
27#include <linux/acpi.h>
27#include <linux/tty.h> 28#include <linux/tty.h>
28#include <linux/gfp.h> 29#include <linux/gfp.h>
29#include <linux/percpu.h> 30#include <linux/percpu.h>
@@ -86,11 +87,6 @@ extern void sbus_init(void);
86extern void prio_tree_init(void); 87extern void prio_tree_init(void);
87extern void radix_tree_init(void); 88extern void radix_tree_init(void);
88extern void free_initmem(void); 89extern void free_initmem(void);
89#ifdef CONFIG_ACPI
90extern void acpi_early_init(void);
91#else
92static inline void acpi_early_init(void) { }
93#endif
94#ifndef CONFIG_DEBUG_RODATA 90#ifndef CONFIG_DEBUG_RODATA
95static inline void mark_rodata_ro(void) { } 91static inline void mark_rodata_ro(void) { }
96#endif 92#endif