[PATCH RT 4/4] convert-locks-list: add sh specific spin locks

From: Katsuya Matsubara
Date: Wed Feb 11 2009 - 10:24:23 EST


The preempt-rt converts all spin locks into sleepable locks. However
some of the locks, for example, used in preempt-disabled code, must
keep the original behavior. The convert-locks script can revert such
locks specified by convert-locks-list. This patch add sh specific spin
locks into the list.

Signed-off-by: Katsuya Matsubara <matsu@xxxxxxxxxx>
---
scripts/convert-locks-list | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/scripts/convert-locks-list b/scripts/convert-locks-list
index daba5a8..44793fb 100644
--- a/scripts/convert-locks-list
+++ b/scripts/convert-locks-list
@@ -84,6 +84,18 @@ arch/powerpc/include/asm/mpic.h:fixup_lock
arch/powerpc/include/asm/rtas.h:lock
arch/powerpc/include/asm/rwsem.h:wait_lock

+arch/sh/kernel/irq.c:(.*)lock
+arch/sh/kernel/traps_32.c:die_lock
+arch/sh/kernel/io_trapped.c:trapped_lock
+arch/sh/kernel/cpu/sh4/sq.c:sq_mapping_lock
+arch/sh/kernel/cpu/clock.c:clock_lock
+arch/sh/drivers/pci/ops-sh4.c:sh4_pci_lock
+arch/sh/mm/pmb.c:pmb_list_lock
+
+arch/sh/include/asm/dma.h:dma_spin_lock
+arch/sh/drivers/dma/dma-api.c:dma_spin_lock
+arch/sh/drivers/dma/dma-isa.c:dma_spin_lock
+
arch/mips/kernel/i8259.c:i8259A_lock
arch/mips/kernel/module.c:dbe_lock
arch/mips/kernel/smp.c:smp_call_lock
--
1.6.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/