arch/x86/include/asm/signal.h
changeset 2 d1f6d8b6f81c
parent 0 aa628870c1d3
equal deleted inserted replaced
1:0056487c491e 2:d1f6d8b6f81c
   119 
   119 
   120 #include <asm-generic/signal.h>
   120 #include <asm-generic/signal.h>
   121 
   121 
   122 #ifndef __ASSEMBLY__
   122 #ifndef __ASSEMBLY__
   123 
   123 
       
   124 # ifdef __KERNEL__
       
   125 extern void do_notify_resume(struct pt_regs *, void *, __u32);
       
   126 # endif /* __KERNEL__ */
       
   127 
   124 #ifdef __i386__
   128 #ifdef __i386__
   125 # ifdef __KERNEL__
   129 # ifdef __KERNEL__
   126 struct old_sigaction {
   130 struct old_sigaction {
   127 	__sighandler_t sa_handler;
   131 	__sighandler_t sa_handler;
   128 	old_sigset_t sa_mask;
   132 	old_sigset_t sa_mask;
   138 };
   142 };
   139 
   143 
   140 struct k_sigaction {
   144 struct k_sigaction {
   141 	struct sigaction sa;
   145 	struct sigaction sa;
   142 };
   146 };
   143 
       
   144 extern void do_notify_resume(struct pt_regs *, void *, __u32);
       
   145 
   147 
   146 # else /* __KERNEL__ */
   148 # else /* __KERNEL__ */
   147 /* Here we must cater to libcs that poke about in kernel headers.  */
   149 /* Here we must cater to libcs that poke about in kernel headers.  */
   148 
   150 
   149 struct sigaction {
   151 struct sigaction {