[PATCH] x86: update_mptable need pci_routeirq

From: Yinghai Lu
Date: Fri May 15 2009 - 15:52:40 EST



to get all device irq routing and save them

Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>

---
arch/x86/kernel/mpparse.c | 3 +++
1 file changed, 3 insertions(+)

Index: linux-2.6/arch/x86/kernel/mpparse.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/mpparse.c
+++ linux-2.6/arch/x86/kernel/mpparse.c
@@ -17,6 +17,7 @@
#include <linux/acpi.h>
#include <linux/module.h>
#include <linux/smp.h>
+#include <linux/pci.h>

#include <asm/mtrr.h>
#include <asm/mpspec.h>
@@ -961,6 +962,7 @@ static int __initdata enable_update_mpta
static int __init update_mptable_setup(char *str)
{
enable_update_mptable = 1;
+ pci_routeirq = 1;
return 0;
}
early_param("update_mptable", update_mptable_setup);
@@ -973,6 +975,7 @@ static int __initdata alloc_mptable;
static int __init parse_alloc_mptable_opt(char *p)
{
enable_update_mptable = 1;
+ pci_routeirq = 1;
alloc_mptable = 1;
if (!p)
return 0;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/