summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/uprobes.h
diff options
context:
space:
mode:
authorOleg Nesterov2013-11-09 18:44:19 +0100
committerOleg Nesterov2013-11-20 16:31:01 +0100
commit3d78e945b6249d4ef2308192343f8b203b1d7ea5 (patch)
treea4a96d28913fd2ccf24ec31a289050107b692d8a /arch/powerpc/include/asm/uprobes.h
parentuprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES] (diff)
downloadkernel-qcow2-linux-3d78e945b6249d4ef2308192343f8b203b1d7ea5.tar.gz
kernel-qcow2-linux-3d78e945b6249d4ef2308192343f8b203b1d7ea5.tar.xz
kernel-qcow2-linux-3d78e945b6249d4ef2308192343f8b203b1d7ea5.zip
uprobes/powerpc: Kill arch_uprobe->ainsn
powerpc has both arch_uprobe->insn and arch_uprobe->ainsn to make the generic code happy. This is no longer needed after the previous change, powerpc can just use "u32 insn". Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Acked-by: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Diffstat (limited to 'arch/powerpc/include/asm/uprobes.h')
-rw-r--r--arch/powerpc/include/asm/uprobes.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/uprobes.h b/arch/powerpc/include/asm/uprobes.h
index 75c6ecdb8f37..7422a999a39a 100644
--- a/arch/powerpc/include/asm/uprobes.h
+++ b/arch/powerpc/include/asm/uprobes.h
@@ -36,9 +36,8 @@ typedef ppc_opcode_t uprobe_opcode_t;
struct arch_uprobe {
union {
- u8 insn[MAX_UINSN_BYTES];
- u8 ixol[MAX_UINSN_BYTES];
- u32 ainsn;
+ u32 insn;
+ u32 ixol;
};
};