aboutsummaryrefslogtreecommitdiff
path: root/lib/bcd.c
diff options
context:
space:
mode:
authorMadhavan Srinivasan <maddy@linux.vnet.ibm.com>2017-12-20 09:25:44 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-19 22:36:58 +1100
commitb5c1bd62c054f3cff1a672f9bf1dddefafadffec (patch)
treef7f21ad34a8ba17a32e8488c6607122ad9f27eb3 /lib/bcd.c
parent9f83e00f4cc1c560b6847acecba2b3746c8d8c06 (diff)
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 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions