virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] remove __init modifier from header declaration
@ 2007-12-18 16:52 Glauber de Oliveira Costa
  2007-12-18 16:52 ` [PATCH 2/2] finish processor.h integration Glauber de Oliveira Costa
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Glauber de Oliveira Costa @ 2007-12-18 16:52 UTC (permalink / raw)
  To: linux-kernel
  Cc: ehabkost, ak, virtualization, chrisw, tglx, anthony, hpa, akpm,
	Glauber de Oliveira Costa, mingo, roland

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>
---
 include/asm-x86/acpi.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/asm-x86/acpi.h b/include/asm-x86/acpi.h
index c477e57..2feb0c4 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);
 #ifdef CONFIG_X86_64
 # define NR_NODE_MEMBLKS (MAX_NUMNODES*2)
 #endif
-extern void __init acpi_fake_nodes(const struct bootnode *fake_nodes,
+extern void acpi_fake_nodes(const struct bootnode *fake_nodes,
 				   int num_nodes);
 #else
 static inline void acpi_fake_nodes(const struct bootnode *fake_nodes,
-- 
1.5.0.6

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-01 16:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 16:52 [PATCH 1/2] remove __init modifier from header declaration Glauber de Oliveira Costa
2007-12-18 16:52 ` [PATCH 2/2] finish processor.h integration Glauber de Oliveira Costa
2007-12-18 20:03   ` Glauber de Oliveira Costa
2007-12-19 10:12 ` [PATCH 1/2] remove __init modifier from header declaration Ingo Molnar
     [not found] ` <20071219101236.GB3521@elte.hu>
2007-12-31 16:46   ` Alexey Dobriyan
     [not found]   ` <20071231164624.GA1738@martell.zuzino.mipt.ru>
2008-01-01 16:57     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).