mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
get rid of pt_regs argument of ->load_binary()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
3c456bfc4b
commit
71613c3b87
12 changed files with 25 additions and 20 deletions
|
|
@ -1374,13 +1374,13 @@ int search_binary_handler(struct linux_binprm *bprm)
|
|||
for (try=0; try<2; try++) {
|
||||
read_lock(&binfmt_lock);
|
||||
list_for_each_entry(fmt, &formats, lh) {
|
||||
int (*fn)(struct linux_binprm *, struct pt_regs *) = fmt->load_binary;
|
||||
int (*fn)(struct linux_binprm *) = fmt->load_binary;
|
||||
if (!fn)
|
||||
continue;
|
||||
if (!try_module_get(fmt->module))
|
||||
continue;
|
||||
read_unlock(&binfmt_lock);
|
||||
retval = fn(bprm, current_pt_regs());
|
||||
retval = fn(bprm);
|
||||
/*
|
||||
* Restore the depth counter to its starting value
|
||||
* in this call, so we don't have to rely on every
|
||||
|
|
|
|||
Loading…
Reference in a new issue