summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/sections.h
diff options
context:
space:
mode:
authorAndi Kleen2005-11-05 17:25:53 +0100
committerLinus Torvalds2005-11-15 04:55:14 +0100
commit2bc0414ee04fd8bb798760801f5d7476dff44241 (patch)
tree3ae48fd461dca1f7f46f440325c674717a36f693 /include/asm-generic/sections.h
parent[PATCH] x86_64: Don't apply __PHYSICAL_MASK to page frame numbers (diff)
downloadkernel-qcow2-linux-2bc0414ee04fd8bb798760801f5d7476dff44241.tar.gz
kernel-qcow2-linux-2bc0414ee04fd8bb798760801f5d7476dff44241.tar.xz
kernel-qcow2-linux-2bc0414ee04fd8bb798760801f5d7476dff44241.zip
[PATCH] x86_64: Only use asm/sections.h to declare section symbols
Adding __initdata_* to asm-generic/sections.h Replaces a lot of open coded externs in arch/x86_64/* I had to change __bss_end to __bss_stop to match the other architectures. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-generic/sections.h')
-rw-r--r--include/asm-generic/sections.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h
index 886dbd116899..0b49f9e070f1 100644
--- a/include/asm-generic/sections.h
+++ b/include/asm-generic/sections.h
@@ -13,5 +13,6 @@ extern char _eextratext[] __attribute__((weak));
extern char _end[];
extern char __per_cpu_start[], __per_cpu_end[];
extern char __kprobes_text_start[], __kprobes_text_end[];
+extern char __initdata_begin[], __initdata_end[];
#endif /* _ASM_GENERIC_SECTIONS_H_ */