ソースを参照

[PATCH] Move e820 map into e820.c

Minor cleanup. Keep setup.c free from unrelated clutter.

Signed-off-by: Andi Kleen <ak@suse.de>
Andi Kleen 18 年 前
コミット
3bd4d18cba
2 ファイル変更2 行追加1 行削除
  1. 2 0
      arch/x86_64/kernel/e820.c
  2. 0 1
      arch/x86_64/kernel/setup.c

+ 2 - 0
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.
  */

+ 0 - 1
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;