diff options
Diffstat (limited to 'include/asm-powerpc/processor.h')
| -rw-r--r-- | include/asm-powerpc/processor.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/processor.h b/include/asm-powerpc/processor.h index a1deed85f31d..a23da6356e06 100644 --- a/include/asm-powerpc/processor.h +++ b/include/asm-powerpc/processor.h | |||
| @@ -12,6 +12,8 @@ | |||
| 12 | 12 | ||
| 13 | #include <asm/reg.h> | 13 | #include <asm/reg.h> |
| 14 | 14 | ||
| 15 | #define TS_FPRWIDTH 1 | ||
| 16 | |||
| 15 | #ifndef __ASSEMBLY__ | 17 | #ifndef __ASSEMBLY__ |
| 16 | #include <linux/compiler.h> | 18 | #include <linux/compiler.h> |
| 17 | #include <asm/ptrace.h> | 19 | #include <asm/ptrace.h> |
| @@ -140,6 +142,8 @@ typedef struct { | |||
| 140 | unsigned long seg; | 142 | unsigned long seg; |
| 141 | } mm_segment_t; | 143 | } mm_segment_t; |
| 142 | 144 | ||
| 145 | #define TS_FPR(i) fpr[i] | ||
| 146 | |||
| 143 | struct thread_struct { | 147 | struct thread_struct { |
| 144 | unsigned long ksp; /* Kernel stack pointer */ | 148 | unsigned long ksp; /* Kernel stack pointer */ |
| 145 | unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */ | 149 | unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */ |
