Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96fbeb97 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge branch 'x86-mrst-for-linus' of...

Merge branch 'x86-mrst-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip

* 'x86-mrst-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  x86, mrst: add nop functions to x86_init mpparse functions
  x86, mrst, pci: return 0 for non-present pci bars
  x86: Avoid check hlt for newer cpus
parents 1f8caa98 fea24e28
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -86,7 +86,7 @@ static void __init check_fpu(void)


static void __init check_hlt(void)
static void __init check_hlt(void)
{
{
	if (paravirt_enabled())
	if (boot_cpu_data.x86 >= 5 || paravirt_enabled())
		return;
		return;


	printk(KERN_INFO "Checking 'hlt' instruction... ");
	printk(KERN_INFO "Checking 'hlt' instruction... ");
+5 −0
Original line number Original line Diff line number Diff line
@@ -237,4 +237,9 @@ void __init x86_mrst_early_setup(void)
	x86_init.pci.fixup_irqs = x86_init_noop;
	x86_init.pci.fixup_irqs = x86_init_noop;


	legacy_pic = &null_legacy_pic;
	legacy_pic = &null_legacy_pic;

	/* Avoid searching for BIOS MP tables */
	x86_init.mpparse.find_smp_config = x86_init_noop;
	x86_init.mpparse.get_smp_config = x86_init_uint_noop;

}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -109,7 +109,7 @@ static int pci_device_update_fixed(struct pci_bus *bus, unsigned int devfn,
			decode++;
			decode++;
			decode = ~(decode - 1);
			decode = ~(decode - 1);
		} else {
		} else {
			decode = ~0;
			decode = 0;
		}
		}


		/*
		/*