]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - arch/ppc64/kernel/iSeries_setup.c
[PATCH] ppc64 iSeries: allow build with no PCI
[linux-3.10.git] / arch / ppc64 / kernel / iSeries_setup.c
index 3d3ed631499a985b629fa9cdf5dfc5ace701e584..b31962436fe36b4e795e1d2c15ae0c5c0e774456 100644 (file)
@@ -76,7 +76,11 @@ extern void ppcdbg_initialize(void);
 static void build_iSeries_Memory_Map(void);
 static void setup_iSeries_cache_sizes(void);
 static void iSeries_bolt_kernel(unsigned long saddr, unsigned long eaddr);
+#ifdef CONFIG_PCI
 extern void iSeries_pci_final_fixup(void);
+#else
+static void iSeries_pci_final_fixup(void) { }
+#endif
 
 /* Global Variables */
 static unsigned long procFreqHz;
@@ -876,6 +880,10 @@ static int set_spread_lpevents(char *str)
 }
 __setup("spread_lpevents=", set_spread_lpevents);
 
+#ifndef CONFIG_PCI
+void __init iSeries_init_IRQ(void) { }
+#endif
+
 void __init iSeries_early_setup(void)
 {
        iSeries_fixup_klimit();