aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/e820.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-04-16 15:25:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:25:12 -0700
commita1e9778203b15b86bc2219e87478d3be9acce735 (patch)
tree15141c5b56a4e39fa8e879812785e957ea720c9b /include/asm-x86_64/e820.h
parent[PATCH] x86_64-always-use-cpuid-80000008-to-figure-out-mtrr fix (diff)
downloadlinux-dev-a1e9778203b15b86bc2219e87478d3be9acce735.tar.xz
linux-dev-a1e9778203b15b86bc2219e87478d3be9acce735.zip
[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.h1
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);
extern int e820_mapped(unsigned long start, unsigned long end, unsigned type);
extern void e820_bootmem_free(pg_data_t *pgdat, unsigned long start,unsigned long end);
+extern void e820_setup_gap(void);
extern void __init parse_memopt(char *p, char **end);