Skip to contentSkip to conversation

- 2.6.2 - smp.h - compiler cleanup

PATCH New Ron Gage 1 participant 1 message Feb 13, 2004 Kernel janitors

lore
Share & tools
lore

Ron Gage

author
#0 lore raw

PATCH 1/1 - 2.6.2 - smp.h - compiler cleanup

This patch eliminates "parameter defined but not used" warnings

Signature · 2 lines
Ron Gage - LPIC1, MCP, A+, Net+
Pontiac, Michigan
include/linux/smp.h +1 -1
@@ -101,7 +101,7 @@
 #define smp_threads_ready			1
 #define smp_call_function(func,info,retry,wait)	({ 0; })
 #define on_each_cpu(func,info,retry,wait)	({ func(info); 0; })
-static inline void smp_send_reschedule(int cpu) { }
+static inline void smp_send_reschedule(int cpu) { cpu = cpu; }
 #define num_booting_cpus()			1
 #define smp_prepare_boot_cpu()			do {} while (0)
 

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors