diff options
author | Tiwei Bie <tiwei.btw@antgroup.com> | 2024-08-26 18:08:15 +0800 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2024-09-12 20:44:11 +0200 |
commit | ae0dc67c2512e09fee26226e1b2d78b82ebebf66 (patch) | |
tree | 987894a41ad3881daa5d6e2700d8704da192af1d /arch/um | |
parent | fe6abeba24996f826473630b2054699828fd9f18 (diff) |
um: Remove outdated asm/sysrq.h header
This header no longer serves a purpose after show_trace was removed
by commit 9d1ee8ce92e1 ("um: Rewrite show_stack()").
Signed-off-by: Tiwei Bie <tiwei.btw@antgroup.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/include/asm/sysrq.h | 8 | ||||
-rw-r--r-- | arch/um/kernel/sysrq.c | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/um/include/asm/sysrq.h b/arch/um/include/asm/sysrq.h deleted file mode 100644 index 8fc8c65cd357..000000000000 --- a/arch/um/include/asm/sysrq.h +++ /dev/null @@ -1,8 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __UM_SYSRQ_H -#define __UM_SYSRQ_H - -struct task_struct; -extern void show_trace(struct task_struct* task, unsigned long *stack); - -#endif diff --git a/arch/um/kernel/sysrq.c b/arch/um/kernel/sysrq.c index 746715379f12..4bb8622dc512 100644 --- a/arch/um/kernel/sysrq.c +++ b/arch/um/kernel/sysrq.c @@ -11,7 +11,6 @@ #include <linux/sched/debug.h> #include <linux/sched/task_stack.h> -#include <asm/sysrq.h> #include <asm/stacktrace.h> #include <os.h> |