aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r--arch/um/os-Linux/signal.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index da474a797fbf..884e45751944 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -12,7 +12,6 @@
12#include <string.h> 12#include <string.h>
13#include <sys/mman.h> 13#include <sys/mman.h>
14#include "user_util.h" 14#include "user_util.h"
15#include "kern_util.h"
16#include "user.h" 15#include "user.h"
17#include "signal_kern.h" 16#include "signal_kern.h"
18#include "sysdep/sigcontext.h" 17#include "sysdep/sigcontext.h"
@@ -49,6 +48,17 @@ void alarm_handler(ARCH_SIGHDLR_PARAM)
49 switch_timers(1); 48 switch_timers(1);
50} 49}
51 50
51extern void do_boot_timer_handler(struct sigcontext * sc);
52
53void boot_timer_handler(ARCH_SIGHDLR_PARAM)
54{
55 struct sigcontext *sc;
56
57 ARCH_GET_SIGCONTEXT(sc, sig);
58
59 do_boot_timer_handler(sc);
60}
61
52void set_sigstack(void *sig_stack, int size) 62void set_sigstack(void *sig_stack, int size)
53{ 63{
54 stack_t stack = ((stack_t) { .ss_flags = 0, 64 stack_t stack = ((stack_t) { .ss_flags = 0,