Commit 2a30aca8 authored by Will Deacon's avatar Will Deacon

arm64: vdso: Fix unusual formatting in *setup_additional_pages()

There's really no need to put every parameter on a new line when calling
a function with a long name, so reformat the *setup_additional_pages()
functions in the vDSO setup code to follow the usual conventions.
Acked-by: default avatarMark Rutland <mark.rutland@arm.com>
Reviewed-by: default avatarVincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: default avatarArd Biesheuvel <ardb@kernel.org>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent 0cbc2659
...@@ -440,9 +440,7 @@ int aarch32_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) ...@@ -440,9 +440,7 @@ int aarch32_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
goto out; goto out;
if (IS_ENABLED(CONFIG_COMPAT_VDSO)) { if (IS_ENABLED(CONFIG_COMPAT_VDSO)) {
ret = __setup_additional_pages(VDSO_ABI_AA32, ret = __setup_additional_pages(VDSO_ABI_AA32, mm, bprm,
mm,
bprm,
uses_interp); uses_interp);
if (ret) if (ret)
goto out; goto out;
...@@ -487,8 +485,7 @@ static int __init vdso_init(void) ...@@ -487,8 +485,7 @@ static int __init vdso_init(void)
} }
arch_initcall(vdso_init); arch_initcall(vdso_init);
int arch_setup_additional_pages(struct linux_binprm *bprm, int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
int uses_interp)
{ {
struct mm_struct *mm = current->mm; struct mm_struct *mm = current->mm;
int ret; int ret;
...@@ -496,11 +493,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, ...@@ -496,11 +493,7 @@ int arch_setup_additional_pages(struct linux_binprm *bprm,
if (mmap_write_lock_killable(mm)) if (mmap_write_lock_killable(mm))
return -EINTR; return -EINTR;
ret = __setup_additional_pages(VDSO_ABI_AA64, ret = __setup_additional_pages(VDSO_ABI_AA64, mm, bprm, uses_interp);
mm,
bprm,
uses_interp);
mmap_write_unlock(mm); mmap_write_unlock(mm);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment