diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2006-06-15 13:00:34 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-06-18 11:17:41 -0400 |
commit | ce7a3fdc5c55fd01d8e2deda0daef84473644f8b (patch) | |
tree | b2aad3635d9026b0cf9c415cffc6345f0af05295 /arch/arm | |
parent | 427abfa28afedffadfca9dd8b067eb6d36bac53f (diff) |
[ARM] Remove rt_sigframe puc and pinfo pointers
These two members appear to be surplus to requirements. Discussing
this issue with glibc folk:
| > Additionally, do you see any need for these weird "puc" and "pinfo"
| > pointers in the kernels rt_sigframe structure? Can we kill them?
|
| We can kill them. I checked with Phil B. about them last week, and he
| didn't remember any reason they still needed to be there. And nothing
| should know where they are on the stack. Unfortunately, doing this
| will upset GDB, which knows that the saved registers are 0x88 bytes
| above the stack pointer on entrance to an rt signal trampoline; but,
| since puc and pinfo are quite recognizable, I can adapt GDB to support
| the new layout if you want to remove them.
So remove them.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/kernel/signal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c index a0cd0a90a10d..0ddbf2795c5b 100644 --- a/arch/arm/kernel/signal.c +++ b/arch/arm/kernel/signal.c | |||
@@ -200,8 +200,6 @@ struct sigframe { | |||
200 | }; | 200 | }; |
201 | 201 | ||
202 | struct rt_sigframe { | 202 | struct rt_sigframe { |
203 | struct siginfo __user *pinfo; | ||
204 | void __user *puc; | ||
205 | struct siginfo info; | 203 | struct siginfo info; |
206 | struct ucontext uc; | 204 | struct ucontext uc; |
207 | unsigned long retcode[2]; | 205 | unsigned long retcode[2]; |
@@ -511,8 +509,6 @@ setup_rt_frame(int usig, struct k_sigaction *ka, siginfo_t *info, | |||
511 | if (!frame) | 509 | if (!frame) |
512 | return 1; | 510 | return 1; |
513 | 511 | ||
514 | __put_user_error(&frame->info, &frame->pinfo, err); | ||
515 | __put_user_error(&frame->uc, &frame->puc, err); | ||
516 | err |= copy_siginfo_to_user(&frame->info, info); | 512 | err |= copy_siginfo_to_user(&frame->info, info); |
517 | 513 | ||
518 | __put_user_error(0, &frame->uc.uc_flags, err); | 514 | __put_user_error(0, &frame->uc.uc_flags, err); |