]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Don't set %pil in rtrap_nmi too early
authorRob Gardner <rob.gardner@oracle.com>
Tue, 22 Dec 2015 04:48:03 +0000 (21:48 -0700)
committerAllen Pais <allen.pais@oracle.com>
Fri, 15 Jan 2016 05:53:10 +0000 (11:23 +0530)
commitf3bdefdfe452d7627babbace7cdb9cda39193f4a
tree1879eb3ea8f386646f052974d522f614c6f33b49
parent9b7c51327158b00ff7d3b67f6878f33255ff6ede
sparc64: Don't set %pil in rtrap_nmi too early

Commit 28a1f53 delays setting %pil to avoid potential
hardirq stack overflow in the common rtrap_irq path.
Setting %pil also needs to be delayed in the rtrap_nmi
path for the same reason.

Orabug: 22322473

Signed-off-by: Rob Gardner <rob.gardner@oracle.com>
Signed-off-by: Dave Aldridge <david.j.aldridge@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 1ca04a4ce0d5131471c5a1fac76899dc2d9d3f36)
arch/sparc/kernel/rtrap_64.S