Merge tag 'chrome-platform-for-linus-4.13' of git://git.kernel.org/pub/scm/linux...
[linux/fpc-iii.git] / arch / x86 / lib / cache-smp.c
blob216a629a4a1a6d4f684b51e224fcd26f169929d4
1 #include <linux/smp.h>
2 #include <linux/export.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);