diff options
| author | Nadav Amit <[email protected]> | 2019-06-13 06:48:05 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2019-06-23 12:26:26 +0000 |
| commit | caa759323c73676b3e48c8d9c86093c88b4aba97 (patch) | |
| tree | 15c62c8f6b18b481233ab7edf9cc7cea091dfd71 /arch/x86/lib/cache-smp.c | |
| parent | smp: Do not mark call_function_data as shared (diff) | |
| download | kernel-caa759323c73676b3e48c8d9c86093c88b4aba97.tar.gz kernel-caa759323c73676b3e48c8d9c86093c88b4aba97.zip | |
smp: Remove smp_call_function() and on_each_cpu() return values
The return value is fixed. Remove it and amend the callers.
[ tglx: Fixup arm/bL_switcher and powerpc/rtas ]
Signed-off-by: Nadav Amit <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Ivan Kokshaysky <[email protected]>
Cc: Matt Turner <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Fenghua Yu <[email protected]>
Cc: Andrew Morton <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'arch/x86/lib/cache-smp.c')
| -rw-r--r-- | arch/x86/lib/cache-smp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/lib/cache-smp.c b/arch/x86/lib/cache-smp.c index 1811fa4a1b1a..7c48ff4ae8d1 100644 --- a/arch/x86/lib/cache-smp.c +++ b/arch/x86/lib/cache-smp.c @@ -15,6 +15,7 @@ EXPORT_SYMBOL(wbinvd_on_cpu); int wbinvd_on_all_cpus(void) { - return on_each_cpu(__wbinvd, NULL, 1); + on_each_cpu(__wbinvd, NULL, 1); + return 0; } EXPORT_SYMBOL(wbinvd_on_all_cpus); |
