linux/arch/x86
Masami Hiramatsu ad5cafcdb0 x86/ptrace: Fix regs_get_argument_nth() to add correct offset
Fix regs_get_argument_nth() to add correct offset bytes. Because
offset_of() returns offset in byte, the offset should be added
to char * instead of unsigned long *.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Jim Keniston <jkenisto@us.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Frank Ch. Eigler <fche@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Jason Baron <jbaron@redhat.com>
Cc: K.Prasad <prasad@linux.vnet.ibm.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <20090910235306.22412.31613.stgit@dhcp-100-2-132.bos.redhat.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
2009-09-11 04:14:24 +02:00
..
boot x86: add vmlinux.lds to targets in arch/x86/boot/compressed/Makefile 2009-08-20 16:08:58 -07:00
configs tracing: Rename FTRACE_SYSCALLS for tracepoints 2009-08-26 00:17:35 +02:00
crypto
ia32
include/asm Merge commit 'tracing/core' into tracing/kprobes 2009-09-11 01:09:23 +02:00
kernel x86/ptrace: Fix regs_get_argument_nth() to add correct offset 2009-09-11 04:14:24 +02:00
kvm KVM: MMU: limit rmap chain length 2009-08-06 12:06:54 +03:00
lguest lguest: update commentry 2009-07-30 16:03:46 +09:30
lib x86: Add MMX support for instruction decoder 2009-09-11 01:12:34 +02:00
math-emu
mm Merge commit 'tracing/core' into tracing/kprobes 2009-09-11 01:09:23 +02:00
oprofile
pci
power
tools x86: Remove unused config macros from instruction decoder selftest 2009-09-04 18:14:15 +02:00
vdso
video
xen x86, xen: Initialize cx to suppress warning 2009-08-25 21:10:32 -07:00
Kbuild
Kconfig Merge commit 'v2.6.31-rc9' into tracing/core 2009-09-06 06:11:42 +02:00
Kconfig.cpu
Kconfig.debug x86: X86 instruction decoder build-time selftest 2009-08-27 00:35:56 +02:00
Makefile x86: X86 instruction decoder build-time selftest 2009-08-27 00:35:56 +02:00
Makefile_32.cpu