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 | |
| 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>
49 files changed, 95 insertions, 108 deletions
diff --git a/arch/alpha/kernel/core_marvel.c b/arch/alpha/kernel/core_marvel.c index ced4aae8b804..04dcc5e5d4c1 100644 --- a/arch/alpha/kernel/core_marvel.c +++ b/arch/alpha/kernel/core_marvel.c | |||
| @@ -662,7 +662,7 @@ __marvel_rtc_io(u8 b, unsigned long addr, int write) | |||
| 662 | if (smp_processor_id() != boot_cpuid) | 662 | if (smp_processor_id() != boot_cpuid) |
| 663 | smp_call_function_single(boot_cpuid, | 663 | smp_call_function_single(boot_cpuid, |
| 664 | __marvel_access_rtc, | 664 | __marvel_access_rtc, |
| 665 | &rtc_access, 1, 1); | 665 | &rtc_access, 1); |
| 666 | else | 666 | else |
| 667 | __marvel_access_rtc(&rtc_access); | 667 | __marvel_access_rtc(&rtc_access); |
| 668 | #else | 668 | #else |
diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c index 95c905be9154..44114c8dbb2a 100644 --- a/arch/alpha/kernel/smp.c +++ b/arch/alpha/kernel/smp.c | |||
| @@ -710,7 +710,7 @@ flush_tlb_mm(struct mm_struct *mm) | |||
| 710 | } | 710 | } |
| 711 | } | 711 | } |
| 712 | 712 | ||
| 713 | if (smp_call_function(ipi_flush_tlb_mm, mm, 1, 1)) { | 713 | if (smp_call_function(ipi_flush_tlb_mm, mm, 1)) { |
| 714 | printk(KERN_CRIT "flush_tlb_mm: timed out\n"); | 714 | printk(KERN_CRIT "flush_tlb_mm: timed out\n"); |
| 715 | } | 715 | } |
| 716 | 716 | ||
| @@ -763,7 +763,7 @@ flush_tlb_page(struct vm_area_struct *vma, unsigned long addr) | |||
| 763 | data.mm = mm; | 763 | data.mm = mm; |
| 764 | data.addr = addr; | 764 | data.addr = addr; |
| 765 | 765 | ||
| 766 | if (smp_call_function(ipi_flush_tlb_page, &data, 1, 1)) { | 766 | if (smp_call_function(ipi_flush_tlb_page, &data, 1)) { |
| 767 | printk(KERN_CRIT "flush_tlb_page: timed out\n"); | 767 | printk(KERN_CRIT "flush_tlb_page: timed out\n"); |
| 768 | } | 768 | } |
| 769 | 769 | ||
| @@ -815,7 +815,7 @@ flush_icache_user_range(struct vm_area_struct *vma, struct page *page, | |||
| 815 | } | 815 | } |
| 816 | } | 816 | } |
| 817 | 817 | ||
| 818 | if (smp_call_function(ipi_flush_icache_page, mm, 1, 1)) { | 818 | if (smp_call_function(ipi_flush_icache_page, mm, 1)) { |
| 819 | printk(KERN_CRIT "flush_icache_page: timed out\n"); | 819 | printk(KERN_CRIT "flush_icache_page: timed out\n"); |
| 820 | } | 820 | } |
| 821 | 821 | ||
diff --git a/arch/alpha/oprofile/common.c b/arch/alpha/oprofile/common.c index 9fc0eeb4f0ab..7c3d5ec6ec67 100644 --- a/arch/alpha/oprofile/common.c +++ b/arch/alpha/oprofile/common.c | |||
| @@ -65,7 +65,7 @@ op_axp_setup(void) | |||
| 65 | model->reg_setup(®, ctr, &sys); | 65 | model->reg_setup(®, ctr, &sys); |
| 66 | 66 | ||
| 67 | /* Configure the registers on all cpus. */ | 67 | /* Configure the registers on all cpus. */ |
| 68 | (void)smp_call_function(model->cpu_setup, ®, 0, 1); | 68 | (void)smp_call_function(model->cpu_setup, ®, 1); |
| 69 | model->cpu_setup(®); | 69 | model->cpu_setup(®); |
| 70 | return 0; | 70 | return 0; |
| 71 | } | 71 | } |
| @@ -86,7 +86,7 @@ op_axp_cpu_start(void *dummy) | |||
| 86 | static int | 86 | static int |
| 87 | op_axp_start(void) | 87 | op_axp_start(void) |
| 88 | { | 88 | { |
| 89 | (void)smp_call_function(op_axp_cpu_start, NULL, 0, 1); | 89 | (void)smp_call_function(op_axp_cpu_start, NULL, 1); |
| 90 | op_axp_cpu_start(NULL); | 90 | op_axp_cpu_start(NULL); |
| 91 | return 0; | 91 | return 0; |
| 92 | } | 92 | } |
| @@ -101,7 +101,7 @@ op_axp_cpu_stop(void *dummy) | |||
| 101 | static void | 101 | static void |
| 102 | op_axp_stop(void) | 102 | op_axp_stop(void) |
| 103 | { | 103 | { |
| 104 | (void)smp_call_function(op_axp_cpu_stop, NULL, 0, 1); | 104 | (void)smp_call_function(op_axp_cpu_stop, NULL, 1); |
| 105 | op_axp_cpu_stop(NULL); | 105 | op_axp_cpu_stop(NULL); |
| 106 | } | 106 | } |
| 107 | 107 | ||
diff --git a/arch/arm/oprofile/op_model_mpcore.c b/arch/arm/oprofile/op_model_mpcore.c index 74fae6045650..4458705021e0 100644 --- a/arch/arm/oprofile/op_model_mpcore.c +++ b/arch/arm/oprofile/op_model_mpcore.c | |||
| @@ -201,7 +201,7 @@ static int em_call_function(int (*fn)(void)) | |||
| 201 | data.ret = 0; | 201 | data.ret = 0; |
| 202 | 202 | ||
| 203 | preempt_disable(); | 203 | preempt_disable(); |
| 204 | smp_call_function(em_func, &data, 1, 1); | 204 | smp_call_function(em_func, &data, 1); |
| 205 | em_func(&data); | 205 | em_func(&data); |
| 206 | preempt_enable(); | 206 | preempt_enable(); |
| 207 | 207 | ||
diff --git a/arch/arm/vfp/vfpmodule.c b/arch/arm/vfp/vfpmodule.c index 32455c633f1c..c0d2c9bb952b 100644 --- a/arch/arm/vfp/vfpmodule.c +++ b/arch/arm/vfp/vfpmodule.c | |||
| @@ -352,7 +352,7 @@ static int __init vfp_init(void) | |||
| 352 | else if (vfpsid & FPSID_NODOUBLE) { | 352 | else if (vfpsid & FPSID_NODOUBLE) { |
| 353 | printk("no double precision support\n"); | 353 | printk("no double precision support\n"); |
| 354 | } else { | 354 | } else { |
| 355 | smp_call_function(vfp_enable, NULL, 1, 1); | 355 | smp_call_function(vfp_enable, NULL, 1); |
| 356 | 356 | ||
| 357 | VFP_arch = (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT; /* Extract the architecture version */ | 357 | VFP_arch = (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT; /* Extract the architecture version */ |
| 358 | printk("implementor %02x architecture %d part %02x variant %x rev %x\n", | 358 | printk("implementor %02x architecture %d part %02x variant %x rev %x\n", |
diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index a9c3334e46c9..952a24b2f5a9 100644 --- a/arch/cris/arch-v32/kernel/smp.c +++ b/arch/cris/arch-v32/kernel/smp.c | |||
| @@ -194,7 +194,7 @@ void stop_this_cpu(void* dummy) | |||
| 194 | /* Other calls */ | 194 | /* Other calls */ |
| 195 | void smp_send_stop(void) | 195 | void smp_send_stop(void) |
| 196 | { | 196 | { |
| 197 | smp_call_function(stop_this_cpu, NULL, 1, 0); | < | |
