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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user