diff options
Diffstat (limited to 'include/asm-um')
-rw-r--r-- | include/asm-um/elf-i386.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/include/asm-um/elf-i386.h b/include/asm-um/elf-i386.h index 22bbb755ee51..23d6893e8617 100644 --- a/include/asm-um/elf-i386.h +++ b/include/asm-um/elf-i386.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2000 - 2003 Jeff Dike (jdike@addtoit.com) | 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | #ifndef __UM_ELF_I386_H | 5 | #ifndef __UM_ELF_I386_H |
@@ -46,7 +46,7 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
46 | PT_REGS_EDI(regs) = 0; \ | 46 | PT_REGS_EDI(regs) = 0; \ |
47 | PT_REGS_EBP(regs) = 0; \ | 47 | PT_REGS_EBP(regs) = 0; \ |
48 | PT_REGS_EAX(regs) = 0; \ | 48 | PT_REGS_EAX(regs) = 0; \ |
49 | } while(0) | 49 | } while (0) |
50 | 50 | ||
51 | #define USE_ELF_CORE_DUMP | 51 | #define USE_ELF_CORE_DUMP |
52 | #define ELF_EXEC_PAGESIZE 4096 | 52 | #define ELF_EXEC_PAGESIZE 4096 |
@@ -74,7 +74,7 @@ typedef struct user_i387_struct elf_fpregset_t; | |||
74 | pr_reg[14] = PT_REGS_EFLAGS(regs); \ | 74 | pr_reg[14] = PT_REGS_EFLAGS(regs); \ |
75 | pr_reg[15] = PT_REGS_SP(regs); \ | 75 | pr_reg[15] = PT_REGS_SP(regs); \ |
76 | pr_reg[16] = PT_REGS_SS(regs); \ | 76 | pr_reg[16] = PT_REGS_SS(regs); \ |
77 | } while(0); | 77 | } while (0); |
78 | 78 | ||
79 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); | 79 | extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu); |
80 | 80 | ||
@@ -86,7 +86,7 @@ extern long elf_aux_hwcap; | |||
86 | extern char * elf_aux_platform; | 86 | extern char * elf_aux_platform; |
87 | #define ELF_PLATFORM (elf_aux_platform) | 87 | #define ELF_PLATFORM (elf_aux_platform) |
88 | 88 | ||
89 | #define SET_PERSONALITY(ex, ibcs2) do ; while(0) | 89 | #define SET_PERSONALITY(ex, ibcs2) do { } while (0) |
90 | 90 | ||
91 | extern unsigned long vsyscall_ehdr; | 91 | extern unsigned long vsyscall_ehdr; |
92 | extern unsigned long vsyscall_end; | 92 | extern unsigned long vsyscall_end; |
@@ -161,14 +161,3 @@ if ( vsyscall_ehdr ) { \ | |||
161 | } | 161 | } |
162 | 162 | ||
163 | #endif | 163 | #endif |
164 | |||
165 | /* | ||
166 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
167 | * Emacs will notice this stuff at the end of the file and automatically | ||
168 | * adjust the settings for this buffer only. This must remain at the end | ||
169 | * of the file. | ||
170 | * --------------------------------------------------------------------------- | ||
171 | * Local variables: | ||
172 | * c-file-style: "linux" | ||
173 | * End: | ||
174 | */ | ||