x86, mrst: Add dummy legacy pic to platform setup
authorJacob Pan <jacob.jun.pan@intel.com>
Fri, 12 Feb 2010 10:29:11 +0000 (02:29 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 24 Feb 2010 07:15:19 +0000 (23:15 -0800)
Moorestown has no legacy PIC; point it to the null legacy PIC.

Signed-off-by: Jacob Pan <jacob.jun.pan@intel.com>
LKML-Reference: <43F901BD926A4E43B106BF17856F07559FB80D09@orsmsx508.amr.corp.intel.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/kernel/mrst.c

index 3b7078a..bdf9b17 100644 (file)
@@ -12,6 +12,9 @@
 #include <linux/init.h>
 
 #include <asm/setup.h>
+#include <asm/mrst.h>
+#include <asm/io.h>
+#include <asm/i8259.h>
 
 /*
  * Moorestown specific x86_init function overrides and early setup
@@ -21,4 +24,6 @@ void __init x86_mrst_early_setup(void)
 {
        x86_init.resources.probe_roms = x86_init_noop;
        x86_init.resources.reserve_resources = x86_init_noop;
+
+       legacy_pic = &null_legacy_pic;
 }