From 56cc623cd7e9a36ae57fbf43f85adc11cff13042 Mon Sep 17 00:00:00 2001 From: Thomas Gleixner Date: Thu, 11 Oct 2007 11:12:46 +0200 Subject: i386: prepare shared kernel/sigframe.h Signed-off-by: Thomas Gleixner Signed-off-by: Ingo Molnar --- arch/i386/kernel/asm-offsets_32.c | 2 +- arch/i386/kernel/sigframe.h | 21 --------------------- arch/i386/kernel/sigframe_32.h | 21 +++++++++++++++++++++ arch/i386/kernel/signal_32.c | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 arch/i386/kernel/sigframe.h create mode 100644 arch/i386/kernel/sigframe_32.h (limited to 'arch/i386') diff --git a/arch/i386/kernel/asm-offsets_32.c b/arch/i386/kernel/asm-offsets_32.c index 7288ac88d74..8029742c0fc 100644 --- a/arch/i386/kernel/asm-offsets_32.c +++ b/arch/i386/kernel/asm-offsets_32.c @@ -10,7 +10,7 @@ #include #include #include -#include "sigframe.h" +#include "sigframe_32.h" #include #include #include diff --git a/arch/i386/kernel/sigframe.h b/arch/i386/kernel/sigframe.h deleted file mode 100644 index 0b2221711da..00000000000 --- a/arch/i386/kernel/sigframe.h +++ /dev/null @@ -1,21 +0,0 @@ -struct sigframe -{ - char __user *pretcode; - int sig; - struct sigcontext sc; - struct _fpstate fpstate; - unsigned long extramask[_NSIG_WORDS-1]; - char retcode[8]; -}; - -struct rt_sigframe -{ - char __user *pretcode; - int sig; - struct siginfo __user *pinfo; - void __user *puc; - struct siginfo info; - struct ucontext uc; - struct _fpstate fpstate; - char retcode[8]; -}; diff --git a/arch/i386/kernel/sigframe_32.h b/arch/i386/kernel/sigframe_32.h new file mode 100644 index 00000000000..0b2221711da --- /dev/null +++ b/arch/i386/kernel/sigframe_32.h @@ -0,0 +1,21 @@ +struct sigframe +{ + char __user *pretcode; + int sig; + struct sigcontext sc; + struct _fpstate fpstate; + unsigned long extramask[_NSIG_WORDS-1]; + char retcode[8]; +}; + +struct rt_sigframe +{ + char __user *pretcode; + int sig; + struct siginfo __user *pinfo; + void __user *puc; + struct siginfo info; + struct ucontext uc; + struct _fpstate fpstate; + char retcode[8]; +}; diff --git a/arch/i386/kernel/signal_32.c b/arch/i386/kernel/signal_32.c index f5dd85656c1..c03570f7fe8 100644 --- a/arch/i386/kernel/signal_32.c +++ b/arch/i386/kernel/signal_32.c @@ -25,7 +25,7 @@ #include #include #include -#include "sigframe.h" +#include "sigframe_32.h" #define DEBUG_SIG 0 -- cgit v1.2.3