uprobes/x86: Kill the "autask" arg of riprel_pre_xol()
authorOleg Nesterov <oleg@redhat.com>
Sun, 27 Apr 2014 15:00:46 +0000 (17:00 +0200)
committerOleg Nesterov <oleg@redhat.com>
Wed, 30 Apr 2014 17:10:41 +0000 (19:10 +0200)
commit7f55e82bacaaa2c41b8e14d6bc78129b096b67b8
tree7166cb95297d80d36637af6a6a6470baaadca6a0
parent1475ee7fadafc6d0c194f2f4cbdae10ed04b9580
uprobes/x86: Kill the "autask" arg of riprel_pre_xol()

default_pre_xol_op() passes &current->utask->autask to riprel_pre_xol()
and this is just ugly because it still needs to load current->utask to
read ->vaddr.

Remove this argument, change riprel_pre_xol() to use current->utask.

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