summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-opal.c
diff options
context:
space:
mode:
authorJulia Cartwright <julia@ni.com>2017-03-21 17:43:03 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2018-01-27 21:12:04 +1100
commit77720c82915a8b7797e0041af95707d7485b4a40 (patch)
tree7157efd278a769a3691adf125fb12df89ed227a2 /drivers/rtc/rtc-opal.c
parentf2be6295684b0fe879a824ac97479799e760b7e9 (diff)
powerpc/mpc52xx_gpt: make use of raw_spinlock variants
The mpc52xx_gpt code currently implements an irq_chip for handling interrupts; due to how irq_chip handling is done, it's necessary for the irq_chip methods to be invoked from hardirq context, even on a a real-time kernel. Because the spinlock_t type becomes a "sleeping" spinlock w/ RT kernels, it is not suitable to be used with irq_chips. A quick audit of the operations under the lock reveal that they do only minimal, bounded work, and are therefore safe to do under a raw spinlock. Signed-off-by: Julia Cartwright <julia@ni.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/rtc/rtc-opal.c')
0 files changed, 0 insertions, 0 deletions