Skip to content

Commit

Permalink
[PATCH] x86_64: Export end_pfn
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Sep 13, 2005
1 parent da04c03 commit f3591ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/x86_64/kernel/e820.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f3591ff

Please sign in to comment.