aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/fpu/signal.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2015-04-30 12:45:38 +0200
committerIngo Molnar <mingo@kernel.org>2015-05-19 15:48:08 +0200
commitb992c660d3b3161ddb992e1b0cac727de574709c (patch)
tree4f40bffbc81306d69ca52eff6faa3ab2a25f8bf5 /arch/x86/include/asm/fpu/signal.h
parentx86/fpu: Rename all the fpregs, xregs, fxregs and fregs handling functions (diff)
downloadlinux-dev-b992c660d3b3161ddb992e1b0cac727de574709c.tar.xz
linux-dev-b992c660d3b3161ddb992e1b0cac727de574709c.zip
x86/fpu: Factor out fpu/signal.c
fpu/xstate.c has a lot of generic FPU signal frame handling routines, move them into a separate file: fpu/signal.c. Cc: Andy Lutomirski <luto@amacapital.net> Cc: Borislav Petkov <bp@alien8.de> Cc: Dave Hansen <dave.hansen@linux.intel.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm/fpu/signal.h')
-rw-r--r--arch/x86/include/asm/fpu/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/fpu/signal.h b/arch/x86/include/asm/fpu/signal.h
index 0803dc2aba80..7358e9d61f1e 100644
--- a/arch/x86/include/asm/fpu/signal.h
+++ b/arch/x86/include/asm/fpu/signal.h
@@ -28,4 +28,6 @@ unsigned long
fpu__alloc_mathframe(unsigned long sp, int ia32_frame,
unsigned long *buf_fx, unsigned long *size);
+extern void fpu__init_prepare_fx_sw_frame(void);
+
#endif /* _ASM_X86_FPU_SIGNAL_H */