[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200318131703.17601-1-shorne@gmail.com>
Date: Wed, 18 Mar 2020 22:17:02 +0900
From: Stafford Horne <shorne@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Stafford Horne <shorne@...il.com>, Jonas Bonn <jonas@...thpole.se>,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Allison Randal <allison@...utok.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Thomas Gleixner <tglx@...utronix.de>,
openrisc@...ts.librecores.org
Subject: [PATCH] openrisc: Remove obsolete show_trace_task function
The function show_trace_task() was removed during linux 2.5 development
and replaced with show_stack(). This was never impemented for openrisc
but must have got in via copying from another architecture. Just remove
it.
Signed-off-by: Stafford Horne <shorne@...il.com>
---
arch/openrisc/kernel/traps.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/arch/openrisc/kernel/traps.c b/arch/openrisc/kernel/traps.c
index 932a8ec2b520..c11aa2e17ce0 100644
--- a/arch/openrisc/kernel/traps.c
+++ b/arch/openrisc/kernel/traps.c
@@ -55,13 +55,6 @@ void show_stack(struct task_struct *task, unsigned long *esp)
unwind_stack(NULL, esp, print_trace);
}
-void show_trace_task(struct task_struct *tsk)
-{
- /*
- * TODO: SysRq-T trace dump...
- */
-}
-
void show_registers(struct pt_regs *regs)
{
int i;
--
2.21.0
Powered by blists - more mailing lists