aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/signal.c')
-rw-r--r--arch/um/os-Linux/signal.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index 0d6122adb8a7..583424b9797d 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -16,7 +16,6 @@
16#include "sysdep/sigcontext.h" 16#include "sysdep/sigcontext.h"
17#include "sysdep/barrier.h" 17#include "sysdep/barrier.h"
18#include "sigcontext.h" 18#include "sigcontext.h"
19#include "mode.h"
20#include "os.h" 19#include "os.h"
21 20
22/* These are the asynchronous signals. SIGVTALRM and SIGARLM are handled 21/* These are the asynchronous signals. SIGVTALRM and SIGARLM are handled
@@ -60,14 +59,14 @@ void sig_handler(int sig, struct sigcontext *sc)
60 59
61static void real_alarm_handler(int sig, struct sigcontext *sc) 60static void real_alarm_handler(int sig, struct sigcontext *sc)
62{ 61{
63 union uml_pt_regs regs; 62 struct uml_pt_regs regs;
64 63
65 if(sig == SIGALRM) 64 if(sig == SIGALRM)
66 switch_timers(0); 65 switch_timers(0);
67 66
68 if(sc != NULL) 67 if(sc != NULL)
69 copy_sc(&regs, sc); 68 copy_sc(&regs, sc);
70 regs.skas.is_user = 0; 69 regs.is_user = 0;
71 unblock_signals(); 70 unblock_signals();
72 timer_handler(sig, &regs); 71 timer_handler(sig, &regs);
73 72