diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-06-28 09:30:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-06-28 19:13:57 -0400 |
commit | 6474924e2b5ddb0030c355558966adcbe3b49022 (patch) | |
tree | c217bdbd7999bd6a9d45e220a5f6efdd828f8df3 /arch/tile | |
parent | e547204f1f4f314a7352f7b93332fdc1a2e4b24c (diff) |
arch: remove unused macro/function thread_saved_pc()
The only user of thread_saved_pc() in non-arch-specific code was removed
in commit 8243d5597793 ("sched/core: Remove pointless printout in
sched_show_task()"). Remove the implementations as well.
Some architectures use thread_saved_pc() in their arch-specific code.
Leave their thread_saved_pc() intact.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/include/asm/processor.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/tile/include/asm/processor.h b/arch/tile/include/asm/processor.h index 0bc9968b97a1..f71e5206650b 100644 --- a/arch/tile/include/asm/processor.h +++ b/arch/tile/include/asm/processor.h | |||
@@ -214,13 +214,6 @@ static inline void release_thread(struct task_struct *dead_task) | |||
214 | 214 | ||
215 | extern void prepare_exit_to_usermode(struct pt_regs *regs, u32 flags); | 215 | extern void prepare_exit_to_usermode(struct pt_regs *regs, u32 flags); |
216 | 216 | ||
217 | |||
218 | /* | ||
219 | * Return saved (kernel) PC of a blocked thread. | ||
220 | * Only used in a printk() in kernel/sched/core.c, so don't work too hard. | ||
221 | */ | ||
222 | #define thread_saved_pc(t) ((t)->thread.pc) | ||
223 | |||
224 | unsigned long get_wchan(struct task_struct *p); | 217 | unsigned long get_wchan(struct task_struct *p); |
225 | 218 | ||
226 | /* Return initial ksp value for given task. */ | 219 | /* Return initial ksp value for given task. */ |