diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2020-06-10 18:39:35 +0300 |
---|---|---|
committer | Guo Ren <guoren@linux.alibaba.com> | 2020-07-31 04:50:48 +0300 |
commit | c23dd2405fc2054345be33f8bb1d04b3b805202d (patch) | |
tree | 6cc3add545a5f520bd6100510449ebe5c19abf9c /arch/csky/include/asm/processor.h | |
parent | 92ed301919932f777713b9172e525674157e983d (diff) | |
download | linux-c23dd2405fc2054345be33f8bb1d04b3b805202d.tar.xz |
csky: remove unusued thread_saved_pc and *_segments functions/macros
These are used nowhere in the tree (except for some architectures which
define them for their own use) and were already removed for other
architectures in:
commit 6474924e2b5d ("arch: remove unused macro/function thread_saved_pc()")
commit c17c02040bf0 ("arch: remove unused *_segments() macros/functions")
Remove them from arch/csky as well.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Guo Ren <guoren@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/include/asm/processor.h')
-rw-r--r-- | arch/csky/include/asm/processor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/csky/include/asm/processor.h b/arch/csky/include/asm/processor.h index 24442d8e86f9..4800f6563abb 100644 --- a/arch/csky/include/asm/processor.h +++ b/arch/csky/include/asm/processor.h @@ -82,12 +82,6 @@ static inline void release_thread(struct task_struct *dead_task) extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags); -#define copy_segments(tsk, mm) do { } while (0) -#define release_segments(mm) do { } while (0) -#define forget_segments() do { } while (0) - -extern unsigned long thread_saved_pc(struct task_struct *tsk); - unsigned long get_wchan(struct task_struct *p); #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) |