summaryrefslogtreecommitdiff
path: root/arch/csky/kernel/asm-offsets.c
diff options
context:
space:
mode:
authorGuo Ren <ren_guo@c-sky.com>2018-12-09 17:31:53 +0800
committerGuo Ren <ren_guo@c-sky.com>2018-12-31 23:16:00 +0800
commit17a68777bc883c8044c8b2d40aa112ff4e8a4fb1 (patch)
treeb8379a00026d6bd33bf6046b6296ebbee66e4e55 /arch/csky/kernel/asm-offsets.c
parent8f4f1639a19db231e4579612dbc6d147e8d07ffd (diff)
csky: remove unused members in processor.h
Cleanup struct cpuinfo_csky and struct thread_struct, remove all esp0 related code. We could get pt_regs from sp and backtrace could use fp in switch_stack. Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Diffstat (limited to 'arch/csky/kernel/asm-offsets.c')
-rw-r--r--arch/csky/kernel/asm-offsets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/csky/kernel/asm-offsets.c b/arch/csky/kernel/asm-offsets.c
index 2f07670ac65f..9b48b1b1a61b 100644
--- a/arch/csky/kernel/asm-offsets.c
+++ b/arch/csky/kernel/asm-offsets.c
@@ -20,7 +20,6 @@ int main(void)
/* offsets into the thread struct */
DEFINE(THREAD_KSP, offsetof(struct thread_struct, ksp));
DEFINE(THREAD_SR, offsetof(struct thread_struct, sr));
- DEFINE(THREAD_ESP0, offsetof(struct thread_struct, esp0));
DEFINE(THREAD_FESR, offsetof(struct thread_struct, user_fp.fesr));
DEFINE(THREAD_FCR, offsetof(struct thread_struct, user_fp.fcr));
DEFINE(THREAD_FPREG, offsetof(struct thread_struct, user_fp.vr));