diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-09 00:55:52 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-01-09 00:55:52 +0300 |
commit | 80e23b7cea77fa29a4c902aa53e87c53c5e054c5 (patch) | |
tree | b428bdfc70cb3f0d909d5a2cb46a728ff67c205d /arch/x86/pci | |
parent | 00cd25b29ba946b7d0907157577ab5cf421bd50e (diff) | |
parent | 7f41c2e1523f628cc248e34192162aec5728bed7 (diff) | |
download | linux-80e23b7cea77fa29a4c902aa53e87c53c5e054c5.tar.xz |
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/x86/linux-2.6-tip:
x86, irq: Check move_in_progress before freeing the vector mapping
x86: copy_from_user() should not return -EFAULT
Revert "x86: Side-step lguest problem by only building cmpxchg8b_emu for pre-Pentium"
x86/pci: Intel ioh bus num reg accessing fix
x86: Fix size for ex trampoline with 32bit
Diffstat (limited to 'arch/x86/pci')
-rw-r--r-- | arch/x86/pci/intel_bus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86/pci/intel_bus.c b/arch/x86/pci/intel_bus.c index b7a55dc55d13..f81a2fa8fe25 100644 --- a/arch/x86/pci/intel_bus.c +++ b/arch/x86/pci/intel_bus.c @@ -49,6 +49,10 @@ static void __devinit pci_root_bus_res(struct pci_dev *dev) u64 mmioh_base, mmioh_end; int bus_base, bus_end; + /* some sys doesn't get mmconf enabled */ + if (dev->cfg_size < 0x120) + return; + if (pci_root_num >= PCI_ROOT_NR) { printk(KERN_DEBUG "intel_bus.c: PCI_ROOT_NR is too small\n"); return; |