Re: [PATCH] arch: remove unused macro/function thread_saved_pc()

From: Geert Uytterhoeven
Date: Wed Jun 28 2017 - 10:36:23 EST


On Wed, Jun 28, 2017 at 3:30 PM, Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
> 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.
>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Signed-off-by: Tobias Klauser <tklauser@xxxxxxxxxx>

> arch/m68k/include/asm/processor.h | 2 --
> arch/m68k/kernel/process.c | 14 --------------

For the m68k part:
Acked-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds