aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-28 02:12:27 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-28 02:12:27 -0400
commit094a32626f904f92beda174154daca3fe4455890 (patch)
tree556e783be1adc47cdcac363b83bf39d2fcdb6a39
parent35aa33cf0b35af6f2f1d8fb81eea8cf723c65239 (diff)
Revert "drivers/tty: Explicitly pass current to show_stack"
This reverts commit 9f12cea96f47f98d612a0a0b84f950a0163731bf. 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>
-rw-r--r--drivers/tty/sysrq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
index 5b1e0edacb84..52bbd27e93ae 100644
--- a/drivers/tty/sysrq.c
+++ b/drivers/tty/sysrq.c
@@ -224,7 +224,7 @@ static void showacpu(void *dummy)
224 224
225 spin_lock_irqsave(&show_lock, flags); 225 spin_lock_irqsave(&show_lock, flags);
226 pr_info("CPU%d:\n", smp_processor_id()); 226 pr_info("CPU%d:\n", smp_processor_id());
227 show_stack(current, NULL); 227 show_stack(NULL, NULL);
228 spin_unlock_irqrestore(&show_lock, flags); 228 spin_unlock_irqrestore(&show_lock, flags);
229} 229}
230 230