]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdaaba8a3a934912503fb272c1fdb95a2fd421c9b
tree14725323047fdc4346373bd1fc718662ad2d1f3e
parentddbc90ebc3f2727349e27dbfeaf72496d5cba5dc
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