Explorar el Código

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 hace 17 años
padre
commit
8b604d5207
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);