Update of /cvsroot/linux-vax/kernel-2.5/include/linux
In directory sc8-pr-cvs1:/tmp/cvs-serv11863/include/linux
Modified Files:
smp.h
Log Message:
Add the trivial definition of cpu_online_map that is required for UP.
Linus will add this in 2.5.24, at which time I'll revert to his branch
for this file.
Index: smp.h
===================================================================
RCS file: /cvsroot/linux-vax/kernel-2.5/include/linux/smp.h,v
retrieving revision 1.1.1.8
retrieving revision 1.2
diff -u -r1.1.1.8 -r1.2
--- smp.h 26 Jan 2003 19:55:40 -0000 1.1.1.8
+++ smp.h 27 Jan 2003 00:19:11 -0000 1.2
@@ -86,6 +86,7 @@
#define smp_call_function(func,info,retry,wait) ({ 0; })
static inline void smp_send_reschedule(int cpu) { }
static inline void smp_send_reschedule_all(void) { }
+#define cpu_online_map 1
#define cpu_online(cpu) 1
#define num_online_cpus() 1
#define __per_cpu_data
|