[PATCH] x86-64: Fix PTRACE_[SG]ET_THREAD_AREA regression with ia32 emulation.

ptrace(PTRACE_[SG]ET_THREAD_AREA) calls from ia32 code
should be passed onto the x86_64 implementation.

The default case in sys32_ptrace used to call to sys_ptrace(), but is
now EINVAL. This patch fixes a regression caused by that changed.

Signed-off-by: Mike McCormack <mike@codeweavers.com>
Signed-off-by: Andi Kleen <ak@suse.de>

authored by Andi Kleen and committed by Andi Kleen 14679eb3 14f448e3

+2
+2
arch/x86_64/ia32/ptrace32.c
··· 244 244 case PTRACE_DETACH: 245 245 case PTRACE_SYSCALL: 246 246 case PTRACE_SETOPTIONS: 247 + case PTRACE_SET_THREAD_AREA: 248 + case PTRACE_GET_THREAD_AREA: 247 249 return sys_ptrace(request, pid, addr, data); 248 250 249 251 default: