summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/arch/x86/lib/cache-smp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/arch/x86/lib/cache-smp.c')
-rw-r--r--ANDROID_3.4.5/arch/x86/lib/cache-smp.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/ANDROID_3.4.5/arch/x86/lib/cache-smp.c b/ANDROID_3.4.5/arch/x86/lib/cache-smp.c
deleted file mode 100644
index a3c66887..00000000
--- a/ANDROID_3.4.5/arch/x86/lib/cache-smp.c
+++ /dev/null
@@ -1,19 +0,0 @@
-#include <linux/smp.h>
-#include <linux/module.h>
-
-static void __wbinvd(void *dummy)
-{
- wbinvd();
-}
-
-void wbinvd_on_cpu(int cpu)
-{
- smp_call_function_single(cpu, __wbinvd, NULL, 1);
-}
-EXPORT_SYMBOL(wbinvd_on_cpu);
-
-int wbinvd_on_all_cpus(void)
-{
- return on_each_cpu(__wbinvd, NULL, 1);
-}
-EXPORT_SYMBOL(wbinvd_on_all_cpus);