[PATCH] x86_64: Port over e820 gap detection from i386
authorAndi Kleen <ak@suse.de>
Sat, 16 Apr 2005 22:25:12 +0000 (15:25 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:25:12 +0000 (15:25 -0700)
commita1e9778203b15b86bc2219e87478d3be9acce735
tree15141c5b56a4e39fa8e879812785e957ea720c9b
parentcf94b62f7005805be0a3ba02c624cb8cd3595bac
[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>
arch/x86_64/kernel/e820.c
arch/x86_64/kernel/setup.c
include/asm-x86_64/e820.h