[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAD=FV=Uw4-czLekDJ1aU55Kxb5NeXVufnpo4fYy9EwQ-KUqDCQ@mail.gmail.com>
Date: Fri, 21 Jun 2024 07:36:49 -0700
From: Doug Anderson <dianders@...omium.org>
To: Zheng Zengkai <zhengzengkai@...wei.com>
Cc: jason.wessel@...driver.com, daniel.thompson@...aro.org, pmladek@...e.com,
christophe.jaillet@...adoo.fr, thorsten.blum@...lux.com,
yuran.pereira@...mail.com, kgdb-bugreport@...ts.sourceforge.net,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH RESEND] kdb: Get rid of redundant kdb_curr_task()
Hi,
On Thu, Jun 20, 2024 at 6:58 AM Zheng Zengkai <zhengzengkai@...wei.com> 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@...wei.com>
> ---
> 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@...omium.org>
Powered by blists - more mailing lists