x86: signal: move ia32 func declarations into arch/x86/kernel/signal.c
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Thu, 18 Dec 2008 02:47:17 +0000 (18:47 -0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 18 Dec 2008 10:28:52 +0000 (11:28 +0100)
Impact: cleanup

Move declarations of ia32_setup_rt_frame() and ia32_setup_frame() into
arch/x86/kernel/signal.c.

This is for future use of sigframe.h.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/sigframe.h
arch/x86/kernel/signal.c

index cc673aa..6dd7e2b 100644 (file)
@@ -34,9 +34,4 @@ struct rt_sigframe {
        struct siginfo info;
        /* fp state follows here */
 };
-
-int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
-               sigset_t *set, struct pt_regs *regs);
-int ia32_setup_frame(int sig, struct k_sigaction *ka,
-               sigset_t *set, struct pt_regs *regs);
 #endif
index 2725a29..848c2d6 100644 (file)
@@ -671,6 +671,11 @@ static int signr_convert(int sig)
 #define is_ia32        0
 #endif /* CONFIG_IA32_EMULATION */
 
+int ia32_setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info,
+               sigset_t *set, struct pt_regs *regs);
+int ia32_setup_frame(int sig, struct k_sigaction *ka,
+               sigset_t *set, struct pt_regs *regs);
+
 #endif /* CONFIG_X86_32 */
 
 static int