]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86_64: Fix compat emulation of PTRACE_GET/SET_THREAD_AREA
authorAndi Kleen <ak@suse.de>
Wed, 17 Oct 2007 16:04:34 +0000 (18:04 +0200)
committerThomas Gleixner <tglx@inhelltoy.tec.linutronix.de>
Wed, 17 Oct 2007 18:15:34 +0000 (20:15 +0200)
commit2f62c94176af875f22ecd01887a550d5d48092fc
treea88a4a31dc1b5ea55d93835897624dca1c36eb77
parentf68fd5f480248ca49e20e30a8e2387bc54694580
x86_64: Fix compat emulation of PTRACE_GET/SET_THREAD_AREA

Since the 64bit kernel has different indexes for this TLS segments
the address needs to be adjusted in the ptrace 32bit emulation.

[ tglx: arch/x86 adaptation ]

Reported-by: Amnon Shiloh
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/ia32/ptrace32.c