Skip to contentSkip to conversation

Fix send_IPI_mask_sequence warning

PATCH Matthew Dobson 1 participant 1 message Jun 7, 2005

lore
Share & tools
lore
#0 lore raw

I get the following warning building 2.6.12-rc5-mm2 on my NUMA-Q box:

In file included from arch/i386/kernel/smp.c:235:
include/asm-i386/mach-numaq/mach_ipi.h:4: warning: `send_IPI_mask_sequence' declared inline after its definition

This patch silences the warning.

-Matt

include/asm-i386/mach-numaq/mach_ipi.h.fixed renamed from include/asm-i386/mach-numaq/mach_ipi.h +1 -1
@@ -1,7 +1,7 @@
 #ifndef __ASM_MACH_IPI_H
 #define __ASM_MACH_IPI_H
 
-inline void send_IPI_mask_sequence(cpumask_t, int vector);
+void send_IPI_mask_sequence(cpumask_t, int vector);
 
 static inline void send_IPI_mask(cpumask_t mask, int vector)
 {