aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-frv/signal.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-07-03 10:25:08 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-07-03 10:25:08 -0400
commit0a1340c185734a57fbf4775927966ad4a1347b02 (patch)
treed9ed8f0dd809a7c542a3356601125ea5b5aaa804 /include/asm-frv/signal.h
parentaf18ddb8864b096e3ed4732e2d4b21c956dcfe3a (diff)
parent29454dde27d8e340bb1987bad9aa504af7081eba (diff)
Merge rsync://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts: include/linux/kernel.h
Diffstat (limited to 'include/asm-frv/signal.h')
-rw-r--r--include/asm-frv/signal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/asm-frv/signal.h b/include/asm-frv/signal.h
index 67366894780f..2079197d483d 100644
--- a/include/asm-frv/signal.h
+++ b/include/asm-frv/signal.h
@@ -74,7 +74,6 @@ typedef unsigned long sigset_t;
74 * SA_FLAGS values: 74 * SA_FLAGS values:
75 * 75 *
76 * SA_ONSTACK indicates that a registered stack_t will be used. 76 * SA_ONSTACK indicates that a registered stack_t will be used.
77 * SA_INTERRUPT is a no-op, but left due to historical reasons. Use the
78 * SA_RESTART flag to get restarting signals (which were the default long ago) 77 * SA_RESTART flag to get restarting signals (which were the default long ago)
79 * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop. 78 * SA_NOCLDSTOP flag to turn off SIGCHLD when children stop.
80 * SA_RESETHAND clears the handler when the signal is delivered. 79 * SA_RESETHAND clears the handler when the signal is delivered.
@@ -94,7 +93,6 @@ typedef unsigned long sigset_t;
94 93
95#define SA_NOMASK SA_NODEFER 94#define SA_NOMASK SA_NODEFER
96#define SA_ONESHOT SA_RESETHAND 95#define SA_ONESHOT SA_RESETHAND
97#define SA_INTERRUPT 0x20000000 /* dummy -- ignored */
98 96
99#define SA_RESTORER 0x04000000 97#define SA_RESTORER 0x04000000
100 98
@@ -114,13 +112,13 @@ struct old_sigaction {
114 __sighandler_t sa_handler; 112 __sighandler_t sa_handler;
115 old_sigset_t sa_mask; 113 old_sigset_t sa_mask;
116 unsigned long sa_flags; 114 unsigned long sa_flags;
117 void (*sa_restorer)(void); 115 __sigrestore_t sa_restorer;
118}; 116};
119 117
120struct sigaction { 118struct sigaction {
121 __sighandler_t sa_handler; 119 __sighandler_t sa_handler;
122 unsigned long sa_flags; 120 unsigned long sa_flags;
123 void (*sa_restorer)(void); 121 __sigrestore_t sa_restorer;
124 sigset_t sa_mask; /* mask last for extensibility */ 122 sigset_t sa_mask; /* mask last for extensibility */
125}; 123};
126 124
@@ -146,7 +144,7 @@ struct sigaction {
146#endif /* __KERNEL__ */ 144#endif /* __KERNEL__ */
147 145
148typedef struct sigaltstack { 146typedef struct sigaltstack {
149 void *ss_sp; 147 void __user *ss_sp;
150 int ss_flags; 148 int ss_flags;
151 size_t ss_size; 149 size_t ss_size;
152} stack_t; 150} stack_t;