diff options
author | Julia Cartwright <julia@ni.com> | 2017-03-21 17:43:03 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-01-27 21:12:04 +1100 |
commit | 77720c82915a8b7797e0041af95707d7485b4a40 (patch) | |
tree | 7157efd278a769a3691adf125fb12df89ed227a2 /net/wireless | |
parent | f2be6295684b0fe879a824ac97479799e760b7e9 (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 'net/wireless')
0 files changed, 0 insertions, 0 deletions