aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/time.c')
-rw-r--r--arch/um/os-Linux/time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/os-Linux/time.c b/arch/um/os-Linux/time.c
index 4ae73c0e5485..7f5ebbadca63 100644
--- a/arch/um/os-Linux/time.c
+++ b/arch/um/os-Linux/time.c
@@ -40,8 +40,8 @@ void disable_timer(void)
40 printk("disnable_timer - setitimer failed, errno = %d\n", 40 printk("disnable_timer - setitimer failed, errno = %d\n",
41 errno); 41 errno);
42 /* If there are signals already queued, after unblocking ignore them */ 42 /* If there are signals already queued, after unblocking ignore them */
43 set_handler(SIGALRM, SIG_IGN, 0, -1); 43 signal(SIGALRM, SIG_IGN);
44 set_handler(SIGVTALRM, SIG_IGN, 0, -1); 44 signal(SIGVTALRM, SIG_IGN);
45} 45}
46 46
47void switch_timers(int to_real) 47void switch_timers(int to_real)