diff options
author | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-05 08:59:37 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@shinybook.infradead.org> | 2005-05-05 08:59:37 -0400 |
commit | bfd4bda097f8758d28e632ff2035e25577f6b060 (patch) | |
tree | 022276b3625a432c7132e39776e7e448445087ac /include/asm-m68k | |
parent | 488f2eaca1b0831a5a5e6a66e33bad2cdeff7238 (diff) | |
parent | b2d84f078a8be40f5ae3b4d2ac001e2a7f45fe4f (diff) |
Merge with master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Diffstat (limited to 'include/asm-m68k')
-rw-r--r-- | include/asm-m68k/signal.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/include/asm-m68k/signal.h b/include/asm-m68k/signal.h index 1d016e9f19bf..a0cdf9082372 100644 --- a/include/asm-m68k/signal.h +++ b/include/asm-m68k/signal.h | |||
@@ -105,29 +105,20 @@ typedef unsigned long sigset_t; | |||
105 | #define MINSIGSTKSZ 2048 | 105 | #define MINSIGSTKSZ 2048 |
106 | #define SIGSTKSZ 8192 | 106 | #define SIGSTKSZ 8192 |
107 | 107 | ||
108 | #define SIG_BLOCK 0 /* for blocking signals */ | 108 | #include <asm-generic/signal.h> |
109 | #define SIG_UNBLOCK 1 /* for unblocking signals */ | ||
110 | #define SIG_SETMASK 2 /* for setting the signal mask */ | ||
111 | |||
112 | /* Type of a signal handler. */ | ||
113 | typedef void (*__sighandler_t)(int); | ||
114 | |||
115 | #define SIG_DFL ((__sighandler_t)0) /* default signal handling */ | ||
116 | #define SIG_IGN ((__sighandler_t)1) /* ignore signal */ | ||
117 | #define SIG_ERR ((__sighandler_t)-1) /* error return from signal */ | ||
118 | 109 | ||
119 | #ifdef __KERNEL__ | 110 | #ifdef __KERNEL__ |
120 | struct old_sigaction { | 111 | struct old_sigaction { |
121 | __sighandler_t sa_handler; | 112 | __sighandler_t sa_handler; |
122 | old_sigset_t sa_mask; | 113 | old_sigset_t sa_mask; |
123 | unsigned long sa_flags; | 114 | unsigned long sa_flags; |
124 | void (*sa_restorer)(void); | 115 | __sigrestore_t sa_restorer; |
125 | }; | 116 | }; |
126 | 117 | ||
127 | struct sigaction { | 118 | struct sigaction { |
128 | __sighandler_t sa_handler; | 119 | __sighandler_t sa_handler; |
129 | unsigned long sa_flags; | 120 | unsigned long sa_flags; |
130 | void (*sa_restorer)(void); | 121 | __sigrestore_t sa_restorer; |
131 | sigset_t sa_mask; /* mask last for extensibility */ | 122 | sigset_t sa_mask; /* mask last for extensibility */ |
132 | }; | 123 | }; |
133 | 124 | ||