[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>
This commit is contained in:
Andi Kleen 2005-09-13 11:35:28 +02:00 committed by Linus Torvalds
parent da04c03503
commit f3591fff04
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ extern char _end[];
* PFN of last memory page. * PFN of last memory page.
*/ */
unsigned long end_pfn; unsigned long end_pfn;
EXPORT_SYMBOL(end_pfn);
/* /*
* end_pfn only includes RAM, while end_pfn_map includes all e820 entries. * end_pfn only includes RAM, while end_pfn_map includes all e820 entries.