diff options
| author | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2008-12-29 03:45:15 -0500 |
| commit | e1df957670aef74ffd9a4ad93e6d2c90bf6b4845 (patch) | |
| tree | bca1fcfef55b3e3e82c9a822b4ac6428fce2b419 /arch/powerpc/include/asm/processor.h | |
| parent | 2b583d8bc8d7105b58d7481a4a0ceb718dac49c6 (diff) | |
| parent | 3c92ec8ae91ecf59d88c798301833d7cf83f2179 (diff) | |
Merge branch 'linus' into perfcounters/core
Conflicts:
fs/exec.c
include/linux/init_task.h
Simple context conflicts.
Diffstat (limited to 'arch/powerpc/include/asm/processor.h')
| -rw-r--r-- | arch/powerpc/include/asm/processor.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/processor.h b/arch/powerpc/include/asm/processor.h index 101ed87f7d84..d3466490104a 100644 --- a/arch/powerpc/include/asm/processor.h +++ b/arch/powerpc/include/asm/processor.h | |||
| @@ -69,8 +69,6 @@ extern int _prep_type; | |||
| 69 | 69 | ||
| 70 | #ifdef __KERNEL__ | 70 | #ifdef __KERNEL__ |
| 71 | 71 | ||
| 72 | extern int have_of; | ||
| 73 | |||
| 74 | struct task_struct; | 72 | struct task_struct; |
| 75 | void start_thread(struct pt_regs *regs, unsigned long fdptr, unsigned long sp); | 73 | void start_thread(struct pt_regs *regs, unsigned long fdptr, unsigned long sp); |
| 76 | void release_thread(struct task_struct *); | 74 | void release_thread(struct task_struct *); |
| @@ -207,6 +205,11 @@ struct thread_struct { | |||
| 207 | #define INIT_SP_LIMIT \ | 205 | #define INIT_SP_LIMIT \ |
| 208 | (_ALIGN_UP(sizeof(init_thread_info), 16) + (unsigned long) &init_stack) | 206 | (_ALIGN_UP(sizeof(init_thread_info), 16) + (unsigned long) &init_stack) |
| 209 | 207 | ||
| 208 | #ifdef CONFIG_SPE | ||
| 209 | #define SPEFSCR_INIT .spefscr = SPEFSCR_FINVE | SPEFSCR_FDBZE | SPEFSCR_FUNFE | SPEFSCR_FOVFE, | ||
| 210 | #else | ||
| 211 | #define SPEFSCR_INIT | ||
| 212 | #endif | ||
| 210 | 213 | ||
| 211 | #ifdef CONFIG_PPC32 | 214 | #ifdef CONFIG_PPC32 |
| 212 | #define INIT_THREAD { \ | 215 | #define INIT_THREAD { \ |
| @@ -215,6 +218,7 @@ struct thread_struct { | |||
| 215 | .fs = KERNEL_DS, \ | 218 | .fs = KERNEL_DS, \ |
| 216 | .pgdir = swapper_pg_dir, \ | 219 | .pgdir = swapper_pg_dir, \ |
| 217 | .fpexc_mode = MSR_FE0 | MSR_FE1, \ | 220 | .fpexc_mode = MSR_FE0 | MSR_FE1, \ |
| 221 | SPEFSCR_INIT \ | ||
| 218 | } | 222 | } |
| 219 | #else | 223 | #else |
| 220 | #define INIT_THREAD { \ | 224 | #define INIT_THREAD { \ |
