aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/processor_64.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2012-04-19 17:52:20 +0900
committerPaul Mundt <lethal@linux-sh.org>2012-04-19 17:52:20 +0900
commitb2212ea41dacda8cce0e7681a3a6ccc76c63802e (patch)
tree85f0dc57ff93f9b0dc221975806c3393eb229cbf /arch/sh/include/asm/processor_64.h
parentfb56a91922463abec52a68e26b562c4503810d40 (diff)
sh64: Kill off unused trap_no/error_code from thread_struct.
While the trap number and error code are passed around for debugging purposes, this occurs wholly independently of the thread struct values. These values were never part of the sigcontext ABI and are thus never passed anywhere, so we can just kill them off across the board. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/processor_64.h')
-rw-r--r--arch/sh/include/asm/processor_64.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/include/asm/processor_64.h b/arch/sh/include/asm/processor_64.h
index e25c4c7d6b63..740e26876596 100644
--- a/arch/sh/include/asm/processor_64.h
+++ b/arch/sh/include/asm/processor_64.h
@@ -121,7 +121,6 @@ struct thread_struct {
NULL for a kernel thread. */
struct pt_regs *uregs;
- unsigned long trap_no, error_code;
unsigned long address;
/* Hardware debugging registers may come here */
@@ -138,8 +137,6 @@ struct thread_struct {
.pc = 0, \
.kregs = &fake_swapper_regs, \
.uregs = NULL, \
- .trap_no = 0, \
- .error_code = 0, \
.address = 0, \
.flags = 0, \
}