summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-06-27 11:50:32 +0200
committerIngo Molnar <mingo@elte.hu>2008-06-27 11:50:32 +0200
commitce0d1b6f73870878aae622b72e85fe8f7a16b51c (patch)
treeda0be66d6c13e4b2bc4f304b3c367f60839d1c31
parent127a237a1ff49fa5b8e00af91e841598aeea3513 (diff)
downloadop-kernel-dev-ce0d1b6f73870878aae622b72e85fe8f7a16b51c.zip
op-kernel-dev-ce0d1b6f73870878aae622b72e85fe8f7a16b51c.tar.gz
fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
fix: kernel/smp.c: In function 'smp_call_function_mask': kernel/smp.c:303: error: too many arguments to function 'smp_call_function_single' Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r--kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 7e0432a..4f582b2 100644
--- a/kernel/smp.c
+++ b/kernel/smp.c
@@ -300,7 +300,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
return 0;
else if (num_cpus == 1) {
cpu = first_cpu(mask);
- return smp_call_function_single(cpu, func, info, 0, wait);
+ return smp_call_function_single(cpu, func, info, wait);
}
if (!wait) {
OpenPOWER on IntegriCloud