MIPS: SB1250: Include correct header and fix a warning
[linux-2.6/linux-mips.git] / arch / x86 / lib / cache-smp.c
bloba3c66887503848cb6a9c5ac628e4bd6d1408eb0b
1 #include <linux/smp.h>
2 #include <linux/module.h>
4 static void __wbinvd(void *dummy)
6 wbinvd();
9 void wbinvd_on_cpu(int cpu)
11 smp_call_function_single(cpu, __wbinvd, NULL, 1);
13 EXPORT_SYMBOL(wbinvd_on_cpu);
15 int wbinvd_on_all_cpus(void)
17 return on_each_cpu(__wbinvd, NULL, 1);
19 EXPORT_SYMBOL(wbinvd_on_all_cpus);