summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-12-20 04:55:45 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-19 12:36:58 +0100
commit0b63acf4a0eb8843f83954ea1bd29ccdfcbaa778 (patch)
treeab57cd5ff8e1e7fa0ed976d16fdfa04ed7f03bab /security
parentpowerpc/64: Fix arch_local_irq_disable() prototype (diff)
downloadlinux-0b63acf4a0eb8843f83954ea1bd29ccdfcbaa778.tar.xz
linux-0b63acf4a0eb8843f83954ea1bd29ccdfcbaa778.zip
powerpc/64: Move set_soft_enabled() and rename
Move set_soft_enabled() from powerpc/kernel/irq.c to asm/hw_irq.c, to encourage updates to paca->soft_enabled done via these access function. Add "memory" clobber to hint compiler since paca->soft_enabled memory is the target here. Renaming it as soft_enabled_set() will make namespaces works better as prefix than a postfix when new soft_enabled manipulation functions are introduced. Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions