[patch] 2.2.18pre1: (fix) Cannot compile arch/i386/kernel/microcode.c

From: Keitaro Yosimura (ramsy@linux.or.jp)
Date: Fri Sep 01 2000 - 09:04:39 EST


Hi alan.

Here is a patch for 2.2.18pre1 which:

 - fix: cannot build microcode.c

--- linux/include/linux/smp.h.orig Thu Jun 3 03:29:28 1999
+++ linux/include/linux/smp.h Fri Sep 1 22:51:39 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:ramsy@linux.or.jp
<|> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:11 EST