Skip to content

Commit

Permalink
fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Jun 27, 2008
1 parent 127a237 commit ce0d1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ce0d1b6

Please sign in to comment.