Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8691e5a8 authored by Jens Axboe's avatar Jens Axboe
Browse files

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: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 490f5de5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -662,7 +662,7 @@ __marvel_rtc_io(u8 b, unsigned long addr, int write)
		if (smp_processor_id() != boot_cpuid)
			smp_call_function_single(boot_cpuid,
						 __marvel_access_rtc,
						 &rtc_access, 1, 1);
						 &rtc_access, 1);
		else
			__marvel_access_rtc(&rtc_access);
#else
+3 −3
Original line number Diff line number Diff line
@@ -710,7 +710,7 @@ flush_tlb_mm(struct mm_struct *mm)
		}
	}

	if (smp_call_function(ipi_flush_tlb_mm, mm, 1, 1)) {
	if (smp_call_function(ipi_flush_tlb_mm, mm, 1)) {
		printk(KERN_CRIT "flush_tlb_mm: timed out\n");
	}

@@ -763,7 +763,7 @@ flush_tlb_page(struct vm_area_struct *vma, unsigned long addr)
	data.mm = mm;
	data.addr = addr;

	if (smp_call_function(ipi_flush_tlb_page, &data, 1, 1)) {
	if (smp_call_function(ipi_flush_tlb_page, &data, 1)) {
		printk(KERN_CRIT "flush_tlb_page: timed out\n");
	}

@@ -815,7 +815,7 @@ flush_icache_user_range(struct vm_area_struct *vma, struct page *page,
		}
	}

	if (smp_call_function(ipi_flush_icache_page, mm, 1, 1)) {
	if (smp_call_function(ipi_flush_icache_page, mm, 1)) {
		printk(KERN_CRIT "flush_icache_page: timed out\n");
	}

+3 −3
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ op_axp_setup(void)
	model->reg_setup(&reg, ctr, &sys);

	/* Configure the registers on all cpus.  */
	(void)smp_call_function(model->cpu_setup, &reg, 0, 1);
	(void)smp_call_function(model->cpu_setup, &reg, 1);
	model->cpu_setup(&reg);
	return 0;
}
@@ -86,7 +86,7 @@ op_axp_cpu_start(void *dummy)
static int
op_axp_start(void)
{
	(void)smp_call_function(op_axp_cpu_start, NULL, 0, 1);
	(void)smp_call_function(op_axp_cpu_start, NULL, 1);
	op_axp_cpu_start(NULL);
	return 0;
}
@@ -101,7 +101,7 @@ op_axp_cpu_stop(void *dummy)
static void
op_axp_stop(void)
{
	(void)smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
	(void)smp_call_function(op_axp_cpu_stop, NULL, 1);
	op_axp_cpu_stop(NULL);
}

+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ static int em_call_function(int (*fn)(void))
	data.ret = 0;

	preempt_disable();
	smp_call_function(em_func, &data, 1, 1);
	smp_call_function(em_func, &data, 1);
	em_func(&data);
	preempt_enable();

+1 −1
Original line number Diff line number Diff line
@@ -352,7 +352,7 @@ static int __init vfp_init(void)
	else if (vfpsid & FPSID_NODOUBLE) {
		printk("no double precision support\n");
	} else {
		smp_call_function(vfp_enable, NULL, 1, 1);
		smp_call_function(vfp_enable, NULL, 1);

		VFP_arch = (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT;  /* Extract the architecture version */
		printk("implementor %02x architecture %d part %02x variant %x rev %x\n",
Loading