]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
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 746715379f12a84abcfe991b3a23218eec7e0fc3..4bb8622dc51226755e18d846361912b37e97e06b 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 f2383484840d3b22b2b3bd9a36fa463f2f2f220e..a1ee415c008d988e0354c92058ad6a7c5303be68 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 0bf6de40abffe1489861c9d57cc0155533f4cc1a..340d8a243c8a8a319f1d1dc3a82f396e3af882b8 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)
 {