diff options
author | David S. Miller <davem@davemloft.net> | 2006-02-02 04:20:18 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:11:33 -0500 |
commit | 7bec08e38a7d0f088994f6eec9b6374652ea71fb (patch) | |
tree | df0c24e8417d08aff3d3de7d9dc7b13c4e05931b /arch/sparc64/kernel/traps.c | |
parent | 517af33237ecfc3c8a93b335365fa61e741ceca4 (diff) |
[SPARC64]: Correctable ECC errors cannot occur at trap level > 0.
The are distrupting, which by the sparc v9 definition means they
can only occur when interrupts are enabled in the %pstate register.
This never occurs in any of the trap handling code running at
trap levels > 0.
So just mark it as an unexpected trap.
This allows us to kill off the cee_stuff member of struct thread_info.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/traps.c')
-rw-r--r-- | arch/sparc64/kernel/traps.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc64/kernel/traps.c b/arch/sparc64/kernel/traps.c index f47f4874253c..7e52e8972668 100644 --- a/arch/sparc64/kernel/traps.c +++ b/arch/sparc64/kernel/traps.c | |||
@@ -2169,7 +2169,6 @@ void __init trap_init(void) | |||
2169 | TI_KERN_CNTD0 != offsetof(struct thread_info, kernel_cntd0) || | 2169 | TI_KERN_CNTD0 != offsetof(struct thread_info, kernel_cntd0) || |
2170 | TI_KERN_CNTD1 != offsetof(struct thread_info, kernel_cntd1) || | 2170 | TI_KERN_CNTD1 != offsetof(struct thread_info, kernel_cntd1) || |
2171 | TI_PCR != offsetof(struct thread_info, pcr_reg) || | 2171 | TI_PCR != offsetof(struct thread_info, pcr_reg) || |
2172 | TI_CEE_STUFF != offsetof(struct thread_info, cee_stuff) || | ||
2173 | TI_PRE_COUNT != offsetof(struct thread_info, preempt_count) || | 2172 | TI_PRE_COUNT != offsetof(struct thread_info, preempt_count) || |
2174 | TI_NEW_CHILD != offsetof(struct thread_info, new_child) || | 2173 | TI_NEW_CHILD != offsetof(struct thread_info, new_child) || |
2175 | TI_SYS_NOERROR != offsetof(struct thread_info, syscall_noerror) || | 2174 | TI_SYS_NOERROR != offsetof(struct thread_info, syscall_noerror) || |