summaryrefslogtreecommitdiff
path: root/arch/x86_64/kernel/e820.c
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-11-05 19:25:53 +0300
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-15 06:55:14 +0300
commit2bc0414ee04fd8bb798760801f5d7476dff44241 (patch)
tree3ae48fd461dca1f7f46f440325c674717a36f693 /arch/x86_64/kernel/e820.c
parent6b75aeedde1e8a8513393d3c1367bf81bc5b0c67 (diff)
downloadlinux-2bc0414ee04fd8bb798760801f5d7476dff44241.tar.xz
[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 'arch/x86_64/kernel/e820.c')
-rw-r--r--arch/x86_64/kernel/e820.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c
index ab3f87aaff70..17579a1a174b 100644
--- a/arch/x86_64/kernel/e820.c
+++ b/arch/x86_64/kernel/e820.c
@@ -23,8 +23,7 @@
#include <asm/e820.h>
#include <asm/proto.h>
#include <asm/bootsetup.h>
-
-extern char _end[];
+#include <asm/sections.h>
/*
* PFN of last memory page.