[PATCH] x86_64: Export end_pfn
authorAndi Kleen <ak@suse.de>
Tue, 13 Sep 2005 09:35:28 +0000 (11:35 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 13 Sep 2005 16:59:04 +0000 (09:59 -0700)
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>
arch/x86_64/kernel/e820.c

index eb7929eea7b33c4743b533a0d39bf8c22c42707c..4e34b0f9d6138bc9141fc6410ed59d6dabd14001 100644 (file)
@@ -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.