Commit 22e842d4 authored by H. Peter Anvin's avatar H. Peter Anvin
Browse files

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: default avatarH. Peter Anvin <hpa@linux.intel.com>
Cc: H. J. Lu <hjl.tools@gmail.com>
parent 1a21d4e0
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -331,6 +331,8 @@ struct linux_binprm;
#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1
extern int arch_setup_additional_pages(struct linux_binprm *bprm,
				       int uses_interp);
extern int x32_setup_additional_pages(struct linux_binprm *bprm,
				      int uses_interp);

extern int syscall32_setup_pages(struct linux_binprm *, int exstack);
#define compat_arch_setup_additional_pages	syscall32_setup_pages
+1 −2
Original line number Diff line number Diff line
@@ -318,7 +318,6 @@ int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
	bool compat;

#ifdef CONFIG_X86_X32_ABI
	extern int x32_setup_additional_pages(struct linux_binprm *, int);
	if (test_thread_flag(TIF_X32))
		return x32_setup_additional_pages(bprm, uses_interp);
#endif
+4 −4

File changed.

Contains only whitespace changes.