Hi. alan.
2.2.18pre2 is fixed microcode.c complie ploblem.
but, I think non smart code.

please use this patch:)

diff -urN linux.orig/arch/i386/kernel/microcode.c linux/arch/i386/kernel/microcode.c
--- linux.orig/arch/i386/kernel/microcode.c     Mon Sep  4 11:45:13 2000
+++ linux/arch/i386/kernel/microcode.c  Mon Sep  4 11:47:55 2000
@@ -174,12 +174,8 @@
        int i, error = 0, err;
        struct microcode *m;
 
-#ifdef __SMP__
        if (smp_call_function(do_update_one, (void *)update_req, 1, 1) != 0)
                panic("do_microcode_update(): timed out waiting for other CPUs\n");
-#else
-       smp_call_function(do_update_one, (void *)update_req, 1, 1);
-#endif
 
        do_update_one((void *)update_req);
 
diff -urN linux.orig/include/linux/smp.h linux/include/linux/smp.h
--- linux.orig/include/linux/smp.h      Thu Jun  3 03:29:28 1999
+++ linux/include/linux/smp.h   Mon Sep  4 11:49:10 2000
@@ -80,7 +80,7 @@
 #define smp_threads_ready                      1
 #define kernel_lock()
 #define cpu_logical_map(cpu)                   0
-#define smp_call_function(func,info,retry,wait)
+#define smp_call_function(func,info,retry,wait)        ({0;})
 
 #endif
 #endif

<|> YOSHIMURA 'ramsy' Keitaro / Japan Linux Association
<|> mailto:[EMAIL PROTECTED]
<|> http://jla.linux.or.jp/index.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to