[PATCH] non-SMP cpu_number_map().

Rusty Russell rusty en linuxcare.com.au
Lun Ene 24 05:44:04 CST 2000


This simplifies some of my code, and is generally neater.

--- linux-2.3-official/include/linux/smp.h.~1~	Sun Jan 23 13:03:57 2000
+++ linux-2.3-official/include/linux/smp.h	Mon Jan 24 16:17:30 2000
@@ -80,6 +80,7 @@
 #define smp_threads_ready			1
 #define kernel_lock()
 #define cpu_logical_map(cpu)			0
+#define cpu_number_map(cpu)			0
 #define smp_call_function(func,info,retry,wait)	({ 0; })
 
 #endif

--
Hacking time.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda