Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14208
b: refs/heads/master
c: ea0be47
h: refs/heads/master
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed Nov 15, 2005
1 parent 66c348e commit 801ab0a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 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: af9c142de94ecf724a18700273bbba390873e072
refs/heads/master: ea0be473a1f0ee89024a24d8ea4b05fbf6efcee3
2 changes: 1 addition & 1 deletion trunk/arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ config IA32_EMULATION
left.

config IA32_AOUT
bool "IA32 a.out support"
tristate "IA32 a.out support"
depends on IA32_EMULATION
help
Support old a.out binaries in the 32bit emulation.
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/x86_64/ia32/ia32_aout.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@
#undef WARN_OLD
#undef CORE_DUMP /* probably broken */

extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
unsigned long stack_top, int exec_stack);

static int load_aout_binary(struct linux_binprm *, struct pt_regs * regs);
static int load_aout_library(struct file*);

Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/x86_64/ia32/ia32_binfmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ static void elf32_init(struct pt_regs *regs)
me->thread.es = __USER_DS;
}

int setup_arg_pages(struct linux_binprm *bprm, unsigned long stack_top, int executable_stack)
int ia32_setup_arg_pages(struct linux_binprm *bprm, unsigned long stack_top,
int executable_stack)
{
unsigned long stack_base;
struct vm_area_struct *mpnt;
Expand Down Expand Up @@ -389,6 +390,7 @@ int setup_arg_pages(struct linux_binprm *bprm, unsigned long stack_top, int exec

return 0;
}
EXPORT_SYMBOL(ia32_setup_arg_pages);

static unsigned long
elf32_map (struct file *filep, unsigned long addr, struct elf_phdr *eppnt, int prot, int type)
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/x86_64/kernel/x8664_ksyms.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,6 @@ EXPORT_SYMBOL(flush_tlb_page);
#endif

EXPORT_SYMBOL(cpu_khz);

EXPORT_SYMBOL(load_gs_index);

5 changes: 5 additions & 0 deletions trunk/include/asm-x86_64/ia32.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ struct siginfo_t;
int do_get_thread_area(struct thread_struct *t, struct user_desc __user *info);
int do_set_thread_area(struct thread_struct *t, struct user_desc __user *info);
int ia32_child_tls(struct task_struct *p, struct pt_regs *childregs);

struct linux_binprm;
extern int ia32_setup_arg_pages(struct linux_binprm *bprm,
unsigned long stack_top, int exec_stack);

#endif

#endif /* !CONFIG_IA32_SUPPORT */
Expand Down

0 comments on commit 801ab0a

Please sign in to comment.