android_kernel_xiaomi_sm8350/arch/um/sys-x86_64
Jeff Dike d1254b12c9 uml: fix x86_64 core dump crash
Stop UML crashing when trying to dump a process core on x86_64.  This is the
minimal fix to stop the crash - more things are broken here, and patches are
forthcoming.

The immediate thing to do is define ELF_CORE_COPY_REGS and
ELF_CORE_COPY_FPREGS.  Defining ELF_CORE_COPY_FPREGS allows dump_fpu to go
away.  It is defined in terms of save_fp_registers, so that needs to be added.

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>
2007-08-31 01:42:22 -07:00
..
bug.c
bugs.c uml: remove unused x86_64 code 2007-05-07 12:13:03 -07:00
delay.c
fault.c
ksyms.c
Makefile
mem.c
ptrace_user.c
ptrace.c uml: fix x86_64 core dump crash 2007-08-31 01:42:22 -07:00
setjmp.S
sigcontext.c
signal.c uml: kernel segfaults should dump proper registers 2007-05-07 12:13:02 -07:00
stub_segv.c
stub.S
syscall_table.c fix uml-x86_64 2007-05-15 18:56:37 -07:00
syscalls.c
sysrq.c
tls.c
um_module.c
unmap.c
user-offsets.c uml: more page fault path trimming 2007-05-07 12:13:04 -07:00