Skip to content

Commit

Permalink
x86/fpu: Factor out fpu/signal.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed May 19, 2015
1 parent c681314 commit b992c66
Show file tree
Hide file tree
Showing 4 changed files with 409 additions and 393 deletions.
2 changes: 2 additions & 0 deletions arch/x86/include/asm/fpu/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
2 changes: 1 addition & 1 deletion arch/x86/kernel/fpu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# Build rules for the FPU support code:
#

obj-y += init.o bugs.o core.o xstate.o
obj-y += init.o bugs.o core.o signal.o xstate.o
Loading

0 comments on commit b992c66

Please sign in to comment.