vserver 1.9.5.x5
[linux-2.6.git] / arch / um / include / frame_kern.h
index 21becc6..ce9514f 100644 (file)
@@ -6,17 +6,15 @@
 #ifndef __FRAME_KERN_H_
 #define __FRAME_KERN_H_
 
-#include "frame.h"
-#include "sysdep/frame_kern.h"
+#define _S(nr) (1<<((nr)-1))
+#define _BLOCKABLE (~(_S(SIGKILL) | _S(SIGSTOP)))
 
 extern int setup_signal_stack_sc(unsigned long stack_top, int sig, 
-                                unsigned long handler,
-                                void (*restorer)(void), 
+                                struct k_sigaction *ka,
                                 struct pt_regs *regs, 
                                 sigset_t *mask);
 extern int setup_signal_stack_si(unsigned long stack_top, int sig, 
-                                unsigned long handler, 
-                                void (*restorer)(void), 
+                                struct k_sigaction *ka,
                                 struct pt_regs *regs, siginfo_t *info, 
                                 sigset_t *mask);