commit | 803200e24abf0f9ec18631290d26b2185477f3a6 | [log] [tgz] |
---|---|---|
author | Oleg Nesterov <oleg@redhat.com> | Sat Nov 09 17:58:54 2013 +0100 |
committer | Oleg Nesterov <oleg@redhat.com> | Wed Nov 20 16:31:00 2013 +0100 |
tree | f04ac6d7dd72f4b73acaaf86576c7a27cb8b9386 | |
parent | 3247343118daa73f2b94b7fa565425d1d9f9ac84 [diff] |
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>