diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2008-06-06 05:18:06 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-06-26 05:24:35 -0400 |
commit | 8691e5a8f691cc2a4fda0651e8d307aaba0e7d68 (patch) | |
tree | 6cb6767064d2d43441212566da2d83dcc9a0cd8e /arch/sh | |
parent | 490f5de52a87063fcb40e3b22f61b0779603ff6d (diff) |
smp_call_function: get rid of the unused nonatomic/retry argument
It's never used and the comments refer to nonatomic and retry
interchangably. So get rid of it.
Acked-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/smp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 2ed8dceb297b..71781ba2675b 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -168,7 +168,7 @@ static void stop_this_cpu(void *unused) | |||
168 | 168 | ||
169 | void smp_send_stop(void) | 169 | void smp_send_stop(void) |
170 | { | 170 | { |
171 | smp_call_function(stop_this_cpu, 0, 1, 0); | 171 | smp_call_function(stop_this_cpu, 0, 0); |
172 | } | 172 | } |
173 | 173 | ||
174 | void arch_send_call_function_ipi(cpumask_t mask) | 174 | void arch_send_call_function_ipi(cpumask_t mask) |
@@ -223,7 +223,7 @@ void flush_tlb_mm(struct mm_struct *mm) | |||
223 | preempt_disable(); | 223 | preempt_disable(); |
224 | 224 | ||
225 | if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { | 225 | if ((atomic_read(&mm->mm_users) != 1) || (current->mm != mm)) { |
226 | smp_call_function(flush_tlb_mm_ipi, (void *)mm, 1, 1); | 226 | smp_call_function(flush_tlb_mm_ipi, (void *)mm, 1); |
227 | } else { | 227 | } else { |
228 | int i; | 228 | int i; |
229 | for (i = 0; i < num_online_cpus(); i++) | 229 | for (i = 0; i < num_online_cpus(); i++) |
@@ -260,7 +260,7 @@ void flush_tlb_range(struct vm_area_struct *vma, | |||
260 | fd.vma = vma; | 260 | fd.vma = vma; |
261 | fd.addr1 = start; | 261 | fd.addr1 = start; |
262 | fd.addr2 = end; | 262 | fd.addr2 = end; |
263 | smp_call_function(flush_tlb_range_ipi, (void *)&fd, 1, 1); | 263 | smp_call_function(flush_tlb_range_ipi, (void *)&fd, 1); |
264 | } else { | 264 | } else { |
265 | int i; | 265 | int i; |
266 | for (i = 0; i < num_online_cpus(); i++) | 266 | for (i = 0; i < num_online_cpus(); i++) |
@@ -303,7 +303,7 @@ void flush_tlb_page(struct vm_area_struct *vma, unsigned long page) | |||
303 | 303 | ||
304 | fd.vma = vma; | 304 | fd.vma = vma; |
305 | fd.addr1 = page; | 305 | fd.addr1 = page; |
306 | smp_call_function(flush_tlb_page_ipi, (void *)&fd, 1, 1); | 306 | smp_call_function(flush_tlb_page_ipi, (void *)&fd, 1); |
307 | } else { | 307 | } else { |
308 | int i; | 308 | int i; |
309 | for (i = 0; i < num_online_cpus(); i++) | 309 | for (i = 0; i < num_online_cpus(); i++) |
@@ -327,6 +327,6 @@ void flush_tlb_one(unsigned long asid, unsigned long vaddr) | |||
327 | fd.addr1 = asid; | 327 | fd.addr1 = asid; |
328 | fd.addr2 = vaddr; | 328 | fd.addr2 = vaddr; |
329 | 329 | ||
330 | smp_call_function(flush_tlb_one_ipi, (void *)&fd, 1, 1); | 330 | smp_call_function(flush_tlb_one_ipi, (void *)&fd, 1); |
331 | local_flush_tlb_one(asid, vaddr); | 331 | local_flush_tlb_one(asid, vaddr); |
332 | } | 332 | } |