git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] initialize end of memory variables as early as possible
[sfrench/cifs-2.6.git]
/
arch
/
x86_64
/
kernel
/
e820.c
diff --git
a/arch/x86_64/kernel/e820.c
b/arch/x86_64/kernel/e820.c
index d6d7f731f6f0edd78509fca24599caeec8fd9745..1362aad4f3aa20a7077ceb5546942fddc62d7e2e 100644
(file)
--- a/
arch/x86_64/kernel/e820.c
+++ b/
arch/x86_64/kernel/e820.c
@@
-40,7
+40,7
@@
unsigned long end_pfn_map;
/*
* Last pfn which the user wants to use.
*/
-unsigned long end_user_pfn = MAXMEM>>PAGE_SHIFT;
+static unsigned long __initdata end_user_pfn = MAXMEM>>PAGE_SHIFT;
extern struct resource code_resource, data_resource;