powerpc/booke64: Check napping in performance monitor interrupt
authorKevin Hao <haokexin@gmail.com>
Thu, 26 Sep 2013 08:23:56 +0000 (16:23 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 11 Oct 2013 05:53:09 +0000 (16:53 +1100)
commite48673360b8b113ca83dc3a45e02ad37fdf9f2d0
treecff57e1b1bfac9ae09ee9cddb37e131e0b9c8d32
parentcf059965713b71b7301fd88f1e98b31c6484dd46
powerpc/booke64: Check napping in performance monitor interrupt

The performance monitor interrupt is asynchronous, so we should check
if the current processor is in napping status in the handler of this
interrupt.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/exceptions-64e.S