]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita45a58e3910712b6e984c23412b287bb67f55fcb
tree4f961ee02e1661876e6c2e565c8085558a0e9281
parent0a7489c178430f7d8773855d4b2a1c1a8ebd661c
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