Explorar o código

uml: fix compile error in deliver_alarm()

Fix the following compile error on UML.

  arch/um/os-Linux/time.c: In function 'deliver_alarm':
  arch/um/os-Linux/time.c:117:3: error: too few arguments to function 'alarm_handler'
  arch/um/os-Linux/internal.h:1:6: note: declared here

The error was introduced by commit d3c1cfcd ("um: pass siginfo to guest
process") in 3.6-rc1.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
CC: Martin Pärtel <martin.partel@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Miklos Szeredi %!s(int64=13) %!d(string=hai) anos
pai
achega
bc6c83641e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      arch/um/os-Linux/time.c

+ 1 - 1
arch/um/os-Linux/time.c

@@ -114,7 +114,7 @@ static void deliver_alarm(void)
 	skew += this_tick - last_tick;
 	skew += this_tick - last_tick;
 
 
 	while (skew >= one_tick) {
 	while (skew >= one_tick) {
-		alarm_handler(SIGVTALRM, NULL);
+		alarm_handler(SIGVTALRM, NULL, NULL);
 		skew -= one_tick;
 		skew -= one_tick;
 	}
 	}