aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/processor.h')
-rw-r--r--include/asm-sh/processor.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h
index da22ac30c75f..4a90e7cd8199 100644
--- a/include/asm-sh/processor.h
+++ b/include/asm-sh/processor.h
@@ -136,12 +136,11 @@ union sh_fpu_union {
136}; 136};
137 137
138struct thread_struct { 138struct thread_struct {
139 /* Saved registers when thread is descheduled */
139 unsigned long sp; 140 unsigned long sp;
140 unsigned long pc; 141 unsigned long pc;
141 142
142 unsigned long trap_no, error_code; 143 /* Hardware debugging registers */
143 unsigned long address;
144 /* Hardware debugging registers may come here */
145 unsigned long ubc_pc; 144 unsigned long ubc_pc;
146 145
147 /* floating point info */ 146 /* floating point info */
@@ -156,12 +155,7 @@ typedef struct {
156extern int ubc_usercnt; 155extern int ubc_usercnt;
157 156
158#define INIT_THREAD { \ 157#define INIT_THREAD { \
159 sizeof(init_stack) + (long) &init_stack, /* sp */ \ 158 .sp = sizeof(init_stack) + (long) &init_stack, \
160 0, /* pc */ \
161 0, 0, \
162 0, \
163 0, \
164 {{{0,}},} /* fpu state */ \
165} 159}
166 160
167/* 161/*