From: Andi Kleen Date: Tue, 13 Sep 2005 09:35:28 +0000 (+0200) Subject: [PATCH] x86_64: Export end_pfn X-Git-Tag: v2.6.14-rc2~45 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3591fff043f5df937120962668c8adfcd3f5b29;p=linux-2.6 [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 Signed-off-by: Linus Torvalds --- diff --git a/arch/x86_64/kernel/e820.c b/arch/x86_64/kernel/e820.c index eb7929eea7..4e34b0f9d6 100644 --- a/arch/x86_64/kernel/e820.c +++ b/arch/x86_64/kernel/e820.c @@ -28,6 +28,7 @@ extern char _end[]; * PFN of last memory page. */ unsigned long end_pfn; +EXPORT_SYMBOL(end_pfn); /* * end_pfn only includes RAM, while end_pfn_map includes all e820 entries.