Skip to content

Commit 3e29ead

Browse files
committed
arm64: Remove useless message during oops
During an oops, we print the name of the current task and its pid twice. We also helpfully advertise its stack limit as "0x(____ptrval____)". Drop these useless messages. Signed-off-by: Will Deacon <[email protected]>
1 parent a188339 commit 3e29ead

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/arm64/kernel/traps.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ void show_stack(struct task_struct *tsk, unsigned long *sp)
168168

169169
static int __die(const char *str, int err, struct pt_regs *regs)
170170
{
171-
struct task_struct *tsk = current;
172171
static int die_counter;
173172
int ret;
174173

@@ -181,9 +180,6 @@ static int __die(const char *str, int err, struct pt_regs *regs)
181180
return ret;
182181

183182
print_modules();
184-
pr_emerg("Process %.*s (pid: %d, stack limit = 0x%p)\n",
185-
TASK_COMM_LEN, tsk->comm, task_pid_nr(tsk),
186-
end_of_stack(tsk));
187183
show_regs(regs);
188184

189185
if (!user_mode(regs))

0 commit comments

Comments
 (0)