sparc64: Block NMIs in critical section of context switch.
authorDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 06:26:59 +0000 (22:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Dec 2008 17:17:04 +0000 (09:17 -0800)
commitf9aad60010efa896319ed6e908a5cb5e3a852907
tree14725323047fdc4346373bd1fc718662ad2d1f3e
parent5565736e44fff06dc5f5c6559e04ac58d2d560ab
sparc64: Block NMIs in critical section of context switch.

In these instructions we load the new thread register, switch
the register window, and setup the new frame pointer.

All of these must appear atomic, and things will explode if
we take a PIL=15 NMI interrupt in the middle of this sequence.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/system_64.h