Skip to content

Commit

Permalink
Revert "drivers/tty: Explicitly pass current to show_stack"
Browse files Browse the repository at this point in the history
This reverts commit 9f12cea.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Sep 28, 2016
1 parent 35aa33c commit 094a326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/sysrq.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ static void showacpu(void *dummy)

spin_lock_irqsave(&show_lock, flags);
pr_info("CPU%d:\n", smp_processor_id());
show_stack(current, NULL);
show_stack(NULL, NULL);
spin_unlock_irqrestore(&show_lock, flags);
}

Expand Down

0 comments on commit 094a326

Please sign in to comment.