diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 18:25:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:25:12 -0400 |
commit | a1e9778203b15b86bc2219e87478d3be9acce735 (patch) | |
tree | 15141c5b56a4e39fa8e879812785e957ea720c9b /include/asm-x86_64/e820.h | |
parent | cf94b62f7005805be0a3ba02c624cb8cd3595bac (diff) |
[PATCH] x86_64: Port over e820 gap detection from i386
Look for gaps in the e820 memory map to put PCI resources in.
This hopefully fixes problems with the PCI code assigning 32bit BARs MMIO
resources which are >32bit.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/e820.h')
-rw-r--r-- | include/asm-x86_64/e820.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h index 5b376e42b153..08f83a4b4f4a 100644 --- a/include/asm-x86_64/e820.h +++ b/include/asm-x86_64/e820.h | |||
@@ -50,6 +50,7 @@ extern void e820_print_map(char *who); | |||
50 | extern int e820_mapped(unsigned long start, unsigned long end, unsigned type); | 50 | extern int e820_mapped(unsigned long start, unsigned long end, unsigned type); |
51 | 51 | ||
52 | extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end); | 52 | extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end); |
53 | extern void e820_setup_gap(void); | ||
53 | 54 | ||
54 | extern void __init parse_memopt(char *p, char **end); | 55 | extern void __init parse_memopt(char *p, char **end); |
55 | 56 | ||