diff options
author | Madhavan Srinivasan <maddy@linux.vnet.ibm.com> | 2017-12-20 04:55:44 +0100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-19 12:36:58 +0100 |
commit | b5c1bd62c054f3cff1a672f9bf1dddefafadffec (patch) | |
tree | f7f21ad34a8ba17a32e8488c6607122ad9f27eb3 /security | |
parent | powerpc/64: Improve inline asm in arch_local_irq_disable (diff) | |
download | linux-b5c1bd62c054f3cff1a672f9bf1dddefafadffec.tar.xz linux-b5c1bd62c054f3cff1a672f9bf1dddefafadffec.zip |
powerpc/64: Fix arch_local_irq_disable() prototype
In powerpc/64, the arch_local_irq_disable() function returns unsigned
long, which is not consistent with other architectures.
Move that set-return asm implementation into arch_local_irq_save(),
and make arch_local_irq_disable() return void, simplifying the
assembly.
Suggested-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