-
- Downloads
uml: ptrace floating point fixes
Handle floating point state better in ptrace. The code now correctly distinguishes between PTRACE_[GS]ETFPREGS and PTRACE_[GS]ETFPXREGS. The FPX requests get handed off to arch-specific code because that's not generic. get_fpregs, set_fpregs, set_fpregs, and set_fpxregs needed real implementations. Something here exposed a missing include in asm/page.h, which needed linux/types.h in order to get gfp_t, so that's fixed here. Signed-off-by:Jeff Dike <jdike@linux.intel.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/um/kernel/ptrace.c 6 additions, 12 deletionsarch/um/kernel/ptrace.c
- arch/um/sys-i386/ptrace.c 48 additions, 25 deletionsarch/um/sys-i386/ptrace.c
- arch/um/sys-x86_64/ptrace.c 39 additions, 14 deletionsarch/um/sys-x86_64/ptrace.c
- include/asm-um/page.h 1 addition, 0 deletionsinclude/asm-um/page.h
- include/asm-um/ptrace-generic.h 7 additions, 4 deletionsinclude/asm-um/ptrace-generic.h
- include/asm-um/ptrace-i386.h 6 additions, 0 deletionsinclude/asm-um/ptrace-i386.h
Please register or sign in to comment