From a1e9778203b15b86bc2219e87478d3be9acce735 Mon Sep 17 00:00:00 2001 From: Andi Kleen Date: Sat, 16 Apr 2005 15:25:12 -0700 Subject: [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/asm-x86_64/e820.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/asm-x86_64/e820.h') diff --git a/include/asm-x86_64/e820.h b/include/asm-x86_64/e820.h index 5b376e42b15..08f83a4b4f4 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); -- cgit v1.2.3-70-g09d2