powerpc: Fix a lazy irq related WARING in arch_local_irq_restore()
authorLi Zhong <zhong@linux.vnet.ibm.com>
Wed, 17 Oct 2012 21:30:13 +0000 (21:30 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 10 Jan 2013 03:43:45 +0000 (14:43 +1100)
commitfb9125680d0e7c23eae7c6000acc91ea26acab9c
tree4f961ee02e1661876e6c2e565c8085558a0e9281
parent323a6bf1d6f4ec7907d9d8aacb4ae9590f755dda
powerpc: Fix a lazy irq related WARING in arch_local_irq_restore()

The pseries CPU hotplug code uses cede_processor without properly
synchronizing the SW and HW interrupt enable state. This fixes
it using the same helpers that were written for the idle code.

Signed-off-by: Li Zhong <zhong@linux.vnet.ibm.com>
=======================
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/hotplug-cpu.c
arch/powerpc/platforms/pseries/plpar_wrappers.h