aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-09-13 05:35:28 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-13 12:59:04 -0400
commitf3591fff043f5df937120962668c8adfcd3f5b29 (patch)
treee94092892fa1e5500544089a58097d8023966cb9
parentda04c035039b5288039a5bf2d340866114ae994b (diff)
[PATCH] x86_64: Export end_pfn
Fixes > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F > System.map 2. 6.14-rc1; fi > WARNING: /lib/modules/2.6.14-rc1/kernel/drivers/char/agp/amd64-agp.ko > needs unknown symbol end_pfn Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--arch/x86_64/kernel/e820.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c
index eb7929eea7b3..4e34b0f9d613 100644
--- a/arch/x86_64/kernel/e820.c
+++ b/arch/x86_64/kernel/e820.c
@@ -28,6 +28,7 @@ extern char _end[];
28 * PFN of last memory page. 28 * PFN of last memory page.
29 */ 29 */
30unsigned long end_pfn; 30unsigned long end_pfn;
31EXPORT_SYMBOL(end_pfn);
31 32
32/* 33/*
33 * end_pfn only includes RAM, while end_pfn_map includes all e820 entries. 34 * end_pfn only includes RAM, while end_pfn_map includes all e820 entries.