Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15080
b: refs/heads/master
c: bd1d6e2
h: refs/heads/master
v: v3
  • Loading branch information
Robin Holt authored and Tony Luck committed Dec 6, 2005
1 parent 5161824 commit 40f4d55
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 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: acb7f67280128a9ddaa756ff10212391d28caec4
refs/heads/master: bd1d6e2451f2bb0132416fda4d129c4f57a827bc
2 changes: 0 additions & 2 deletions trunk/arch/ia64/ia32/binfmt_elf32.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,6 @@ elf32_set_personality (void)
{
set_personality(PER_LINUX32);
current->thread.map_base = IA32_PAGE_OFFSET/3;
current->thread.task_size = IA32_PAGE_OFFSET; /* use what Linux/x86 uses... */
set_fs(USER_DS); /* set addr limit for new TASK_SIZE */
}

static unsigned long
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/ia64/ia32/ia32priv.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ struct old_linux32_dirent {
#define ELF_DATA ELFDATA2LSB
#define ELF_ARCH EM_386

#define IA32_PAGE_OFFSET 0xc0000000
#define IA32_STACK_TOP IA32_PAGE_OFFSET
#define IA32_GATE_OFFSET IA32_PAGE_OFFSET
#define IA32_GATE_END IA32_PAGE_OFFSET + PAGE_SIZE
Expand Down
5 changes: 4 additions & 1 deletion trunk/arch/ia64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -721,8 +721,11 @@ flush_thread (void)
/* drop floating-point and debug-register state if it exists: */
current->thread.flags &= ~(IA64_THREAD_FPH_VALID | IA64_THREAD_DBG_VALID);
ia64_drop_fpu(current);
if (IS_IA32_PROCESS(ia64_task_regs(current)))
if (IS_IA32_PROCESS(ia64_task_regs(current))) {
ia32_drop_partial_page_list(current);
current->thread.task_size = IA32_PAGE_OFFSET;
set_fs(USER_DS);
}
}

/*
Expand Down
2 changes: 2 additions & 0 deletions trunk/include/asm-ia64/ia32.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

# ifdef CONFIG_IA32_SUPPORT

#define IA32_PAGE_OFFSET 0xc0000000

extern void ia32_cpu_init (void);
extern void ia32_mem_init (void);
extern void ia32_gdt_init (void);
Expand Down

0 comments on commit 40f4d55

Please sign in to comment.