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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index 53593c8b9c34..fbad174775ee 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -120,7 +120,6 @@ void (*handlers[_NSIG])(int sig, struct sigcontext *sc);
120void handle_signal(int sig, struct sigcontext *sc) 120void handle_signal(int sig, struct sigcontext *sc)
121{ 121{
122 unsigned long pending = 1UL << sig; 122 unsigned long pending = 1UL << sig;
123 int timer = switch_timers(0);
124 123
125 do { 124 do {
126 int nested, bail; 125 int nested, bail;
@@ -157,8 +156,6 @@ void handle_signal(int sig, struct sigcontext *sc)
157 if (!nested) 156 if (!nested)
158 pending = from_irq_stack(nested); 157 pending = from_irq_stack(nested);
159 } while (pending); 158 } while (pending);
160
161 switch_timers(timer);
162} 159}
163 160
164extern void hard_handler(int sig); 161extern void hard_handler(int sig);