aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2006-09-26 10:52:33 +0200
committerAndi Kleen <andi@basil.nowhere.org>2006-09-26 10:52:33 +0200
commit3bd4d18cbab622c504f131f3c0029c3aa29c05be (patch)
treebe775e71a87f6468e5e7d00819a7029a91959152 /arch
parentc31fbb1ad890b11f037c16496e53f28877c12722 (diff)
downloadkernel_samsung_smdk4412-3bd4d18cbab622c504f131f3c0029c3aa29c05be.zip
kernel_samsung_smdk4412-3bd4d18cbab622c504f131f3c0029c3aa29c05be.tar.gz
kernel_samsung_smdk4412-3bd4d18cbab622c504f131f3c0029c3aa29c05be.tar.bz2
[PATCH] Move e820 map into e820.c
Minor cleanup. Keep setup.c free from unrelated clutter. Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kernel/e820.c2
-rw-r--r--arch/x86_64/kernel/setup.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c
index a4739dc..164d0b8 100644
--- a/arch/x86_64/kernel/e820.c
+++ b/arch/x86_64/kernel/e820.c
@@ -24,6 +24,8 @@
#include <asm/bootsetup.h>
#include <asm/sections.h>
+struct e820map e820 __initdata;
+
/*
* PFN of last memory page.
*/
diff --git a/arch/x86_64/kernel/setup.c b/arch/x86_64/kernel/setup.c
index b855285..4be2983 100644
--- a/arch/x86_64/kernel/setup.c
+++ b/arch/x86_64/kernel/setup.c
@@ -97,7 +97,6 @@ struct sys_desc_table_struct {
struct edid_info edid_info;
EXPORT_SYMBOL_GPL(edid_info);
-struct e820map e820;
extern int root_mountflags;