]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] fix numaq builds
authorAndrew Morton <akpm@digeo.com>
Mon, 30 Dec 2002 03:58:10 +0000 (19:58 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 30 Dec 2002 03:58:10 +0000 (19:58 -0800)
NUMAQ does not link - it wants the smp_read_mpc_oem() which I recently disabled.

arch/i386/kernel/mpparse.c
include/asm-i386/mach-numaq/mach_mpparse.h

index be74791bdbe7c3febdb8c393f20107b58c84855b..a4fb679c1c9759662e61c93f3d297338b657b821 100644 (file)
@@ -269,7 +269,7 @@ static void __init MP_lintsrc_info (struct mpc_config_lintsrc *m)
                        BUG();
 }
 
-#if 0
+#ifdef CONFIG_X86_NUMAQ
 static void __init MP_translation_info (struct mpc_config_translation *m)
 {
        printk("Translation: record %d, type %d, quad %d, global %d, local %d\n", mpc_record, m->trans_type, m->trans_quad, m->trans_global, m->trans_local);
@@ -328,7 +328,7 @@ static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable, \
                }
        }
 }
-#endif
+#endif /* CONFIG_X86_NUMAQ */
 
 /*
  * Read/parse the MPC
index f15b7b9ae1e8641f96903da487aabc412221635d..ddda81a724a81a0a8a7f1f75b442a796de9550b7 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef __ASM_MACH_MPPARSE_H
 #define __ASM_MACH_MPPARSE_H
 
+static void __init smp_read_mpc_oem(struct mp_config_oemtable *oemtable,
+                       unsigned short oemsize);
+
 static inline void mpc_oem_bus_info(struct mpc_config_bus *m, char *name, 
                                struct mpc_config_translation *translation)
 {