Commit 094a3262 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "drivers/tty: Explicitly pass current to show_stack"

This reverts commit 9f12cea9.

Mark writes:
	Unfortunately, this patch will result in erroneous stack traces
	on some architectures. Sorry about this; I should have verified
	this more thoroughly before sending the series out.

	Please drop the patch at your earliest convenience.

Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35aa33cf
...@@ -224,7 +224,7 @@ static void showacpu(void *dummy) ...@@ -224,7 +224,7 @@ static void showacpu(void *dummy)
spin_lock_irqsave(&show_lock, flags); spin_lock_irqsave(&show_lock, flags);
pr_info("CPU%d:\n", smp_processor_id()); pr_info("CPU%d:\n", smp_processor_id());
show_stack(current, NULL); show_stack(NULL, NULL);
spin_unlock_irqrestore(&show_lock, flags); spin_unlock_irqrestore(&show_lock, flags);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment