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/include/asm/elf.h | |
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/include/asm/elf.h')
-rw-r--r-- | arch/x86/include/asm/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/elf.h b/arch/x86/include/asm/elf.h index 83aabea95dd7..1e40634591a4 100644 --- a/arch/x86/include/asm/elf.h +++ b/arch/x86/include/asm/elf.h | |||
@@ -331,6 +331,8 @@ struct linux_binprm; | |||
331 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 | 331 | #define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1 |
332 | extern int arch_setup_additional_pages(struct linux_binprm *bprm, | 332 | extern int arch_setup_additional_pages(struct linux_binprm *bprm, |
333 | int uses_interp); | 333 | int uses_interp); |
334 | extern int x32_setup_additional_pages(struct linux_binprm *bprm, | ||
335 | int uses_interp); | ||
334 | 336 | ||
335 | extern int syscall32_setup_pages(struct linux_binprm *, int exstack); | 337 | extern int syscall32_setup_pages(struct linux_binprm *, int exstack); |
336 | #define compat_arch_setup_additional_pages syscall32_setup_pages | 338 | #define compat_arch_setup_additional_pages syscall32_setup_pages |