Ver Fonte

fix: "smp_call_function: get rid of the unused nonatomic/retry argument"

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>
Ingo Molnar há 17 anos atrás
pai
commit
8b604d5207
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/char/sysrq.c

+ 1 - 1
drivers/char/sysrq.c

@@ -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);