diff options
author | Andi Kleen <ak@suse.de> | 2005-04-16 15:25:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 15:25:12 -0700 |
commit | a1e9778203b15b86bc2219e87478d3be9acce735 (patch) | |
tree | 15141c5b56a4e39fa8e879812785e957ea720c9b /include | |
parent | cf94b62f7005805be0a3ba02c624cb8cd3595bac (diff) | |
download | linux-a1e9778203b15b86bc2219e87478d3be9acce735.tar.gz linux-a1e9778203b15b86bc2219e87478d3be9acce735.tar.bz2 linux-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')
-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); 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); |