linux_dsm_epyc7002/arch/cris/arch-v32/drivers
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
..
mach-a3 CRIS v32: Rewrite ARTPEC-3 gpio driver to avoid volatiles and general cleanup. 2008-02-08 16:28:36 +01:00
mach-fs CRIS v32: Clean up nandflash.c for ARTPEC-3 and ETRAX FS. 2008-02-08 11:16:45 +01:00
pci arch/cris: add a missing iounmap 2008-02-05 09:44:24 -08:00
axisflashmap.c CRIS v32: Update and improve axisflashmap 2008-02-08 11:06:25 +01:00
cryptocop.c CRIS v32: Rewrite of stream co-processor driver for ETRAX FS and ARTPEC-3 2008-02-08 11:06:33 +01:00
i2c.c CRIS v32: Change drivers/i2c.c locking. 2008-02-08 17:00:25 +01:00
i2c.h CRIS v32: New version of I2C driver. 2008-02-08 11:06:25 +01:00
iop_fw_load.c CRIS v32: Change include path for hwregs in drivers/iop_fw_load.c 2008-02-08 11:06:33 +01:00
Kconfig CRIS: Move ETRAX_AXISFLASHMAP to common Kconfig file. 2008-02-08 11:08:06 +01:00
Makefile CRIS v32: Remove common gpio and nandflash, add mach-fs and mach-a3 as subdirs. 2008-02-08 11:06:26 +01:00
pcf8563.c It looks at least odd to apply spin_unlock to a mutex. 2008-06-29 22:50:56 +02:00
sync_serial.c CRIS v32: Remove config ifdef around init function for drivers/sync_serial.c 2008-02-08 11:06:34 +01:00