From 1ec1e1185bb45198f59c6d1e6e645677f3318986 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 10 Feb 2005 02:49:41 +0000 Subject: [PATCH] handle_signals() now takes a pointer to a cpu_state, so that after restoring and re-disabling interrupts the state can be propagated back to the caller. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11309 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/ksignal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/kernel/ksignal.h b/headers/private/kernel/ksignal.h index bb9a981955..e103f71d73 100644 --- a/headers/private/kernel/ksignal.h +++ b/headers/private/kernel/ksignal.h @@ -6,12 +6,13 @@ #define _KERNEL_SIGNAL_H +#include #include #define BLOCKABLE_SIGS (~((1L << (SIGKILL - 1)) | (1L << (SIGSTOP - 1)))) -extern int handle_signals(struct thread *t, int state); +extern int handle_signals(struct thread *t, cpu_status *state); extern int _user_send_signal(pid_t tid, uint sig); extern int _user_sigprocmask(int how, const sigset_t *set, sigset_t *oldSet);