Re: [PATCH] powerpc/85xx: Convert socrates_fpga_pic_lock to raw_spinlock
From: Kumar Gala <hidden>
Date: 2010-02-18 22:01:20
On Feb 18, 2010, at 7:45 AM, Anton Vorontsov wrote:
Interrupt controllers' hooks are executed in the atomic context, so they are not permitted to sleep (with RT kernels non-raw spinlocks are sleepable). So, socrates_fpga_pic_lock has to be a real =
(non-sleepable)
spinlock. =20 Signed-off-by: Anton Vorontsov <redacted> --- =20 On Thu, Feb 18, 2010 at 12:22:18PM -0000, Thomas Gleixner wrote:quoted
Ben, =20 the following patch series is from preempt-rt. It converts the locks which need to be real spinlocks in -rt to raw_spinlocks. =20 There is no behaviourial change for !RT kernels because spinlocks and raw_spinlocks are the same on !RT. So for mainline this is a pure annotation while having it in mainline takes the burden of keeping up with the code changes from the RT patch set. =20 Please consider to merge into .34.=20 Oh, and I guess the same for the socrates fpga pic... =20 arch/powerpc/platforms/85xx/socrates_fpga_pic.c | 34 =
+++++++++++-----------
1 files changed, 17 insertions(+), 17 deletions(-)
applied to next - k=