uprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES]
authorOleg Nesterov <oleg@redhat.com>
Sat, 9 Nov 2013 16:58:54 +0000 (17:58 +0100)
committerOleg Nesterov <oleg@redhat.com>
Wed, 20 Nov 2013 15:31:00 +0000 (16:31 +0100)
commit803200e24abf0f9ec18631290d26b2185477f3a6
treef04ac6d7dd72f4b73acaaf86576c7a27cb8b9386
parent3247343118daa73f2b94b7fa565425d1d9f9ac84
uprobes: Don't assume that arch_uprobe->insn/ixol is u8[MAX_UINSN_BYTES]

arch_uprobe should be opaque as much as possible to the generic
code, but currently it assumes that insn/ixol must be u8[] of the
known size. Remove this unnecessary dependency, we can use "&" and
and sizeof() with the same effect.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c