diff options
Diffstat (limited to 'arch/tile/kernel/smp.c')
-rw-r--r-- | arch/tile/kernel/smp.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/tile/kernel/smp.c b/arch/tile/kernel/smp.c index c52224d5ed45..a44e103c5a63 100644 --- a/arch/tile/kernel/smp.c +++ b/arch/tile/kernel/smp.c | |||
@@ -87,25 +87,6 @@ void send_IPI_allbutself(int tag) | |||
87 | send_IPI_many(&mask, tag); | 87 | send_IPI_many(&mask, tag); |
88 | } | 88 | } |
89 | 89 | ||
90 | |||
91 | /* | ||
92 | * Provide smp_call_function_mask, but also run function locally | ||
93 | * if specified in the mask. | ||
94 | */ | ||
95 | void on_each_cpu_mask(const struct cpumask *mask, void (*func)(void *), | ||
96 | void *info, bool wait) | ||
97 | { | ||
98 | int cpu = get_cpu(); | ||
99 | smp_call_function_many(mask, func, info, wait); | ||
100 | if (cpumask_test_cpu(cpu, mask)) { | ||
101 | local_irq_disable(); | ||
102 | func(info); | ||
103 | local_irq_enable(); | ||
104 | } | ||
105 | put_cpu(); | ||
106 | } | ||
107 | |||
108 | |||
109 | /* | 90 | /* |
110 | * Functions related to starting/stopping cpus. | 91 | * Functions related to starting/stopping cpus. |
111 | */ | 92 | */ |