diff options
author | Bharat Bhushan <r65777@freescale.com> | 2013-07-04 11:45:46 +0530 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-10-18 18:44:49 -0500 |
commit | 51ae8d4a2b9e4aa9a502061b9c39168e08829b94 (patch) | |
tree | e6ff6805b3cd6c00483a087dccbca0e235e96644 /arch/powerpc/kernel/ptrace32.c | |
parent | powerpc: remove unnecessary line continuations (diff) | |
download | linux-dev-51ae8d4a2b9e4aa9a502061b9c39168e08829b94.tar.xz linux-dev-51ae8d4a2b9e4aa9a502061b9c39168e08829b94.zip |
powerpc: move debug registers in a structure
This way we can use same data type struct with KVM and
also help in using other debug related function.
Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
Acked-by: Michael Neuling <mikey@neuling.org>
[scottwood@freescale.com: removed obvious debug_reg comment]
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel/ptrace32.c')
-rw-r--r-- | arch/powerpc/kernel/ptrace32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ptrace32.c b/arch/powerpc/kernel/ptrace32.c index 097f8dc426a0..f52b7db327c8 100644 --- a/arch/powerpc/kernel/ptrace32.c +++ b/arch/powerpc/kernel/ptrace32.c @@ -266,7 +266,7 @@ long compat_arch_ptrace(struct task_struct *child, compat_long_t request, if (addr > 0) break; #ifdef CONFIG_PPC_ADV_DEBUG_REGS - ret = put_user(child->thread.dac1, (u32 __user *)data); + ret = put_user(child->thread.debug.dac1, (u32 __user *)data); #else dabr_fake = ( (child->thread.hw_brk.address & (~HW_BRK_TYPE_DABR)) | |