linux/arch/cris/arch-v32
Julia Lawall 9be48a94b8 It looks at least odd to apply spin_unlock to a mutex.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@def@
declarer DEFINE_MUTEX;
identifier m;
@@

DEFINE_MUTEX(m);

@@
identifier def.m;
@@

(
- spin_lock(&m)
+ mutex_lock(&m)
|
- spin_unlock(&m)
+ mutex_unlock(&m)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2008-06-29 22:50:56 +02:00
..
boot CRIS v32: Update boot/rescue/rescue.ld 2008-02-08 11:06:35 +01:00
drivers It looks at least odd to apply spin_unlock to a mutex. 2008-06-29 22:50:56 +02:00
kernel CRIS: Add new timerfd syscall entries. 2008-02-08 11:54:30 +01:00
lib cris: correct usage of __user for copy to and from user space in lib/usercopy and uaccess.h 2008-03-04 16:35:16 -08:00
mach-a3 CRIS v32: Correct spelling of bandwidth in function name. 2008-02-08 11:16:46 +01:00
mach-fs CRIS v32: Update vcs_hook.c for ETRAX FS. 2008-02-08 11:06:35 +01:00
mm CRIS v32: Avoid work when switching between tasks with shared memory descriptors in mm/tlb.c 2008-02-08 11:06:36 +01:00
Kconfig CRIS: Rearrange Kconfigs for v10 and v32 to allow compilation without warnings. 2008-02-08 11:06:22 +01:00
output_arch.ld [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
vmlinux.lds.S CRIS v32: Fix startup oops and replace hardcoded pagesize in vmlinux.lds.S 2008-02-08 11:06:36 +01:00