aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-01-30 07:31:57 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:31:57 -0500
commit7ba65c7e17a292fe1e6e48fd38d1b1ecb626b586 (patch)
treec38f6f4c18bdde936bfb18a88df5894397d33647
parentfdadd54db5e9f05e673eb08746bf2bea460d9f0d (diff)
x86: remove __init modifier from header declaration
This patch removes the __init modifier from an extern function declaration in acpi.h. Besides not being strictly needed, it requires the inclusion of linux/init.h, which is usually not even included directly, increasing header mess by a lot. Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/asm-x86/acpi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/acpi.h b/include/asm-x86/acpi.h
index c477e574175..2feb0c494be 100644
--- a/include/asm-x86/acpi.h
+++ b/include/asm-x86/acpi.h
@@ -158,7 +158,7 @@ extern int acpi_scan_nodes(unsigned long start, unsigned long end);
158#ifdef CONFIG_X86_64 158#ifdef CONFIG_X86_64
159# define NR_NODE_MEMBLKS (MAX_NUMNODES*2) 159# define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
160#endif 160#endif
161extern void __init acpi_fake_nodes(const struct bootnode *fake_nodes, 161extern void acpi_fake_nodes(const struct bootnode *fake_nodes,
162 int num_nodes); 162 int num_nodes);
163#else 163#else
164static inline void acpi_fake_nodes(const struct bootnode *fake_nodes, 164static inline void acpi_fake_nodes(const struct bootnode *fake_nodes,