diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2012-02-21 17:32:19 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2012-02-21 17:32:19 -0500 |
commit | 22e842d4d90ffec9677cc114487a5cefd39b5643 (patch) | |
tree | 2a970b461d185a27bbd1a00b8d13e5b572e928f1 /arch/x86/vdso/vdso32-setup.c | |
parent | 1a21d4e095ef720abf81299000afc038206d571b (diff) |
x32: Fix coding style violations in the x32 VDSO code
Move the prototype for x32_setup_additional_pages() to a header file,
and adjust the coding style to match standard.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: H. J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'arch/x86/vdso/vdso32-setup.c')
-rw-r--r-- | arch/x86/vdso/vdso32-setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/vdso/vdso32-setup.c b/arch/x86/vdso/vdso32-setup.c index 01b8a0df5e0e..10f9f59477db 100644 --- a/arch/x86/vdso/vdso32-setup.c +++ b/arch/x86/vdso/vdso32-setup.c | |||
@@ -318,9 +318,8 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp) | |||
318 | bool compat; | 318 | bool compat; |
319 | 319 | ||
320 | #ifdef CONFIG_X86_X32_ABI | 320 | #ifdef CONFIG_X86_X32_ABI |
321 | extern int x32_setup_additional_pages(struct linux_binprm *, int); | ||
322 | if (test_thread_flag(TIF_X32)) | 321 | if (test_thread_flag(TIF_X32)) |
323 | return x32_setup_additional_pages (bprm, uses_interp); | 322 | return x32_setup_additional_pages(bprm, uses_interp); |
324 | #endif | 323 | #endif |
325 | 324 | ||
326 | if (vdso_enabled == VDSO_DISABLED) | 325 | if (vdso_enabled == VDSO_DISABLED) |