From 47171940e3f0cb806a4edf02e450a8ae8733f7f8 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Thu, 25 Dec 2008 04:33:34 +0000 Subject: [PATCH] --- yaml --- r: 127672 b: refs/heads/master c: 2701a1ad04ebab0c8fae8beb4586383a5a70ba0c h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 9e00981f4dc6..23960b2ebb32 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 93197a36a9c16a85fb24cf5a8639f7bf9af838a3 +refs/heads/master: 2701a1ad04ebab0c8fae8beb4586383a5a70ba0c diff --git a/trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c b/trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c index ae7c34f37e1c..98367a0255f3 100644 --- a/trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c +++ b/trunk/arch/powerpc/platforms/52xx/mpc52xx_common.c @@ -42,7 +42,7 @@ static struct of_device_id mpc52xx_bus_ids[] __initdata = { * from interrupt context while node mapping (which calls ioremap()) * cannot be used at such point. */ -static spinlock_t mpc52xx_lock = SPIN_LOCK_UNLOCKED; +static DEFINE_SPINLOCK(mpc52xx_lock); static struct mpc52xx_gpt __iomem *mpc52xx_wdt; static struct mpc52xx_cdm __iomem *mpc52xx_cdm;