um: Remove outdated asm/sysrq.h header
authorTiwei Bie <tiwei.btw@antgroup.com>
Mon, 26 Aug 2024 10:08:15 +0000 (18:08 +0800)
committerRichard Weinberger <richard@nod.at>
Thu, 12 Sep 2024 18:44:11 +0000 (20:44 +0200)
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>
arch/um/include/asm/sysrq.h [deleted file]
arch/um/kernel/sysrq.c
arch/x86/um/sysrq_32.c
arch/x86/um/sysrq_64.c

diff --git a/arch/um/include/asm/sysrq.h b/arch/um/include/asm/sysrq.h
deleted file mode 100644 (file)
index 8fc8c65..0000000
+++ /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
index 7467153..4bb8622 100644 (file)
@@ -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>
 
index f238348..a1ee415 100644 (file)
@@ -9,7 +9,6 @@
 #include <linux/sched/debug.h>
 #include <linux/kallsyms.h>
 #include <asm/ptrace.h>
-#include <asm/sysrq.h>
 
 /* This is declared by <linux/sched.h> */
 void show_regs(struct pt_regs *regs)
index 0bf6de4..340d8a2 100644 (file)
@@ -12,7 +12,6 @@
 #include <linux/utsname.h>
 #include <asm/current.h>
 #include <asm/ptrace.h>
-#include <asm/sysrq.h>
 
 void show_regs(struct pt_regs *regs)
 {