1
linux/arch/powerpc/platforms/52xx
Julia Lawall 2701a1ad04 powerpc/52xx: Use DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED is deprecated.  The following makes the change suggested
in Documentation/spinlocks.txt

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
declarer name DEFINE_SPINLOCK;
identifier xxx_lock;
@@

- spinlock_t xxx_lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(xxx_lock);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-01-08 16:25:11 +11:00
..
efika.c
Kconfig Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-25 11:08:17 -07:00
lite5200_pm.c powerpc/mpc5200: Document and tidy irq driver 2008-12-21 02:54:26 -07:00
lite5200_sleep.S
lite5200.c
Makefile powerpc: Remove use of CONFIG_PPC_MERGE 2008-08-04 13:18:17 +10:00
mpc52xx_common.c powerpc/52xx: Use DEFINE_SPINLOCK 2009-01-08 16:25:11 +11:00
mpc52xx_gpio.c mpc52xx_gpio iomem annotations 2008-06-04 08:06:02 -07:00
mpc52xx_pci.c powerpc: Introduce ppc_pci_flags accessors 2008-12-16 15:53:16 +11:00
mpc52xx_pic.c powerpc/mpc5200: Make internal 5200 PIC the default interrupt controller 2008-12-21 02:54:27 -07:00
mpc52xx_pm.c powerpc/mpc5200: Document and tidy irq driver 2008-12-21 02:54:26 -07:00
mpc52xx_sleep.S
mpc5200_simple.c [POWERPC] mpc5200: add Phytec pcm030 board support 2008-04-29 07:17:12 -06:00