x86: Move some signal-handling definitions to a common header
authorH. Peter Anvin <hpa@zytor.com>
Sun, 19 Feb 2012 15:38:43 +0000 (07:38 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 20 Feb 2012 20:52:04 +0000 (12:52 -0800)
commitf28f0c23576662fb293defe9b1884d5a6e1bd85c
treec648cb81828ef0e904af839690ab308abc66ead7
parentea499fec48dd771bd92984337fcb57ed4c787e69
x86: Move some signal-handling definitions to a common header

There are some definitions which are duplicated between
kernel/signal.c and ia32/ia32_signal.c; move them to a common header
file.

Rather than adding stuff to existing header files which contain data
structures, create a new header file; hence the slightly odd name
("all the good ones were taken.")

Note: nothing relied on signal_fault() being defined in
<asm/ptrace.h>.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/ia32/ia32_signal.c
arch/x86/include/asm/ptrace.h
arch/x86/include/asm/sighandling.h [new file with mode: 0644]
arch/x86/kernel/signal.c