Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297734
b: refs/heads/master
c: 22e842d
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Feb 21, 2012
1 parent d7c7809 commit dd95081
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a21d4e095ef720abf81299000afc038206d571b
refs/heads/master: 22e842d4d90ffec9677cc114487a5cefd39b5643
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/x86/vdso/vdso32-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,8 @@ 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);
return x32_setup_additional_pages(bprm, uses_interp);
#endif

if (vdso_enabled == VDSO_DISABLED)
Expand Down
8 changes: 4 additions & 4 deletions trunk/arch/x86/vdso/vma.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,15 +187,15 @@ static int setup_additional_pages(struct linux_binprm *bprm,

int arch_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
{
return setup_additional_pages (bprm, uses_interp, vdso_pages,
vdso_size);
return setup_additional_pages(bprm, uses_interp, vdso_pages,
vdso_size);
}

#ifdef CONFIG_X86_X32_ABI
int x32_setup_additional_pages(struct linux_binprm *bprm, int uses_interp)
{
return setup_additional_pages (bprm, uses_interp, vdsox32_pages,
vdsox32_size);
return setup_additional_pages(bprm, uses_interp, vdsox32_pages,
vdsox32_size);
}
#endif

Expand Down

0 comments on commit dd95081

Please sign in to comment.