]> asedeno.scripts.mit.edu Git - linux.git/commit
powerpc/64: Move set_soft_enabled() and rename
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>
Wed, 20 Dec 2017 03:55:45 +0000 (09:25 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jan 2018 11:36:58 +0000 (22:36 +1100)
commit0b63acf4a0eb8843f83954ea1bd29ccdfcbaa778
treeab57cd5ff8e1e7fa0ed976d16fdfa04ed7f03bab
parentb5c1bd62c054f3cff1a672f9bf1dddefafadffec
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>
arch/powerpc/include/asm/hw_irq.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kernel/irq.c
arch/powerpc/kernel/setup_64.c
arch/powerpc/kernel/time.c