diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-12-09 10:31:53 +0100 |
---|---|---|
committer | Guo Ren <ren_guo@c-sky.com> | 2018-12-31 16:16:00 +0100 |
commit | 17a68777bc883c8044c8b2d40aa112ff4e8a4fb1 (patch) | |
tree | b8379a00026d6bd33bf6046b6296ebbee66e4e55 /arch/csky/kernel/signal.c | |
parent | csky: optimize kernel panic print. (diff) | |
download | linux-17a68777bc883c8044c8b2d40aa112ff4e8a4fb1.tar.xz linux-17a68777bc883c8044c8b2d40aa112ff4e8a4fb1.zip |
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/signal.c')
-rw-r--r-- | arch/csky/kernel/signal.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/csky/kernel/signal.c b/arch/csky/kernel/signal.c index 66e1b729b10b..e680dc127f40 100644 --- a/arch/csky/kernel/signal.c +++ b/arch/csky/kernel/signal.c @@ -238,8 +238,6 @@ static void do_signal(struct pt_regs *regs, int syscall) if (!user_mode(regs)) return; - current->thread.esp0 = (unsigned long)regs; - /* * If we were from a system call, check for system call restarting... */ |