powerpc/64: Implement and use soft_enabled_set_return API
authorMadhavan Srinivasan <[email protected]>
Wed, 20 Dec 2017 03:55:47 +0000 (09:25 +0530)
committerMichael Ellerman <[email protected]>
Fri, 19 Jan 2018 11:36:59 +0000 (22:36 +1100)
commita67c543aacb247a74e9d48fd9fde6d8369cea10b
treecbd5aaa0986a4372c725c943f5ddc449883d59f0
parente0b5687bed13ddbf99985d77910b9adfd429bf12
powerpc/64: Implement and use soft_enabled_set_return API

Add a new wrapper function, soft_enabled_set_return(), added to do the
paca->soft_enabled updates requiring a set-return.

Signed-off-by: Madhavan Srinivasan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
arch/powerpc/include/asm/hw_irq.h