diff options
author | Zheng Zengkai <[email protected]> | 2024-06-20 22:21:32 +0800 |
---|---|---|
committer | Daniel Thompson <[email protected]> | 2024-06-21 15:49:29 +0100 |
commit | 9bccbe7b20876a34c70b13430ea1b308fc8d5a7e (patch) | |
tree | 96868084d8f06e91790fdd06e8fe9ba1eea9c0d6 /kernel/debug/kdb/kdb_bt.c | |
parent | e2e821095949cde46256034975a90f88626a2a73 (diff) |
kdb: Get rid of redundant kdb_curr_task()
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 <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Thompson <[email protected]>
Diffstat (limited to 'kernel/debug/kdb/kdb_bt.c')
-rw-r--r-- | kernel/debug/kdb/kdb_bt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/debug/kdb/kdb_bt.c b/kernel/debug/kdb/kdb_bt.c index 10b454554ab0..137ba73f56fc 100644 --- a/kernel/debug/kdb/kdb_bt.c +++ b/kernel/debug/kdb/kdb_bt.c @@ -144,7 +144,7 @@ kdb_bt(int argc, const char **argv) kdb_ps_suppressed(); /* Run the active tasks first */ for_each_online_cpu(cpu) { - p = kdb_curr_task(cpu); + p = curr_task(cpu); if (kdb_bt1(p, mask, btaprompt)) return 0; } |