Re: [PATCH RESEND] kdb: Get rid of redundant kdb_curr_task()
From: Doug Anderson
Date: Fri Jun 21 2024 - 10:37:16 EST
Hi,
On Thu, Jun 20, 2024 at 6:58 AM Zheng Zengkai <zhengzengkai@xxxxxxxxxx> wrote:
>
> Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture")
> removed the only definition of macro _TIF_MCA_INIT, so kdb_curr_task()
> is actually the same as curr_task() now and becomes redundant.
>
> Let's remove the definition of kdb_curr_task() and replace remaining
> calls with curr_task().
>
> Signed-off-by: Zheng Zengkai <zhengzengkai@xxxxxxxxxx>
> ---
> kernel/debug/kdb/kdb_bt.c | 2 +-
> kernel/debug/kdb/kdb_main.c | 18 ++++--------------
> kernel/debug/kdb/kdb_private.h | 2 --
> 3 files changed, 5 insertions(+), 17 deletions(-)
In case Daniel picks this one up since it CCs LKML, I'll copy my tag
from the one that didn't:
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>