summaryrefslogtreecommitdiff
path: root/kernel/smp.c
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 /kernel/smp.c
parent127a237a1ff49fa5b8e00af91e841598aeea3513 (diff)
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>
Diffstat (limited to 'kernel/smp.c')
-rw-r--r--kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/smp.c b/kernel/smp.c
index 7e0432a4a0e2..4f582b257eba 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) {