diff options
author | David S. Miller <davem@davemloft.net> | 2008-04-27 09:26:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-27 09:26:36 (GMT) |
commit | 5526b7e4513c66bc1c91f661dcd518d5199f8934 (patch) | |
tree | 658de7d323dc5aa5c13d7c9545820b5911d758dc /include/asm-sparc | |
parent | 7cf069955f2f0b95fed6a8b1a61ef598a3df0f4e (diff) | |
download | linux-5526b7e4513c66bc1c91f661dcd518d5199f8934.tar.xz |
sparc: Remove old style signal frame support.
Back around the same time we were bootstrapping the first 32-bit sparc
Linux kernel with a SunOS userland, we made the signal frame match
that of SunOS.
By the time we even started putting together a native Linux userland
for 32-bit Sparc we realized this layout wasn't sufficient for Linux's
needs.
Therefore we changed the layout, yet kept support for the old style
signal frame layout in there. The detection mechanism is that we had
sys_sigaction() start passing in a negative signal number to indicate
"new style signal frames please".
Anyways, no binaries exist in the world that use the old stuff. In
fact, I bet Jakub Jelinek and myself are the only two people who ever
had such binaries to be honest.
So let's get rid of this stuff.
I added an assertion using WARN_ON_ONCE() that makes sure 32-bit
applications are passing in that negative signal number still.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc')
-rw-r--r-- | include/asm-sparc/processor.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-sparc/processor.h b/include/asm-sparc/processor.h index e300697..8898efb 100644 --- a/include/asm-sparc/processor.h +++ b/include/asm-sparc/processor.h @@ -1,5 +1,4 @@ -/* $Id: processor.h,v 1.83 2001/10/08 09:32:13 davem Exp $ - * include/asm-sparc/processor.h +/* include/asm-sparc/processor.h * * Copyright (C) 1994 David S. Miller (davem@caip.rutgers.edu) */ @@ -65,7 +64,6 @@ struct thread_struct { struct fpq fpqueue[16]; unsigned long flags; mm_segment_t current_ds; - int new_signal; }; #define SPARC_FLAG_KTHREAD 0x1 /* task is a kernel thread */ |