在 2024/6/21 5:57, Doug Anderson 写道:
Hi,

On Wed, Jun 19, 2024 at 5:34 AM Zheng Zengkai <zhengzeng...@huawei.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 <zhengzeng...@huawei.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(-)
Looks right to me.

Reviewed-by: Douglas Anderson <diand...@chromium.org>

It's slightly annoying that this isn't CCed any kernel mailing lists
that are tracked by lore.kernel.org, but I guess that'll be up to
Daniel to figure out. :-P

Sorry for forgetting that, actually I realized that yesterday and resent one patch CCed linux-ker...@vger.kernel.org,

Thanks!


-Doug
.



_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to