fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
authorIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 09:52:45 +0000 (11:52 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 27 Jun 2008 09:52:45 +0000 (11:52 +0200)
drivers/char/sysrq.c: In function 'sysrq_showregs_othercpus':
drivers/char/sysrq.c:218: error: too many arguments to function 'smp_call_function'

Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/char/sysrq.c

index dbce1263bdff2314ed637d647694b5dae68cc905..8fdfe9c871e3af99f5a632d2f893bbd0508455ab 100644 (file)
@@ -215,7 +215,7 @@ static void showacpu(void *dummy)
 
 static void sysrq_showregs_othercpus(struct work_struct *dummy)
 {
-       smp_call_function(showacpu, NULL, 0, 0);
+       smp_call_function(showacpu, NULL, 0);
 }
 
 static DECLARE_WORK(sysrq_showallcpus, sysrq_showregs_othercpus);