Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
Subsystems (7)
PATCH 1/5 Net: ibm_newemac, remove SPIN_LOCK_UNLOCKED
ibm_newemac, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
---
commit aefcf0f6b6ab925184e7cebff8b609e4da1f5c0d
tree 9e1e6240f26c759826959e8812885726c520019d
parent f87566db6dd9613dde8de59380cd2f423166511e
author Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:54:41 +0200 committer Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:54:41 +0200
drivers/net/ibm_newemac/debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ibm_newemac/debug.c +1 -1
@@ -21,7 +21,7 @@#include "core.h" -static spinlock_t emac_dbg_lock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (emac_dbg_lock);static void emac_desc_dump (struct emac_instance *p) {
PATCH 2/5 Watchdog: bfin_wdt, remove SPIN_LOCK_UNLOCKED
bfin_wdt, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
---
commit 5290a0e1fffeb61f0062ebca98e45a6a5ba75711
tree 4d377ca30153b48b32b4d2c079ab884983c0091d
parent aefcf0f6b6ab925184e7cebff8b609e4da1f5c0d
author Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:55:29 +0200 committer Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:55:29 +0200
drivers/watchdog/bfin_wdt.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/watchdog/bfin_wdt.c +1 -1
@@ -71,7 +71,7 @@ static int nowayout = WATCHDOG_NOWAYOUT;static struct watchdog_info bfin_wdt_info;static unsigned long open_check;static char expect_close; -static spinlock_t bfin_wdt_spinlock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (bfin_wdt_spinlock);/** * bfin_wdt_keepalive - Keep the Userspace Watchdog Alive
PATCH 3/5 Sbus: cpwatchdog, remove SPIN_LOCK_UNLOCKED
In reply to Jiri Slabycpwatchdog, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use __SPIN_LOCK_UNLOCKED with an unique name instead
---
commit 4e91ba06c53856bfaab065aaf9fd8f5b0dd59f6f
tree ff123ed71958d9331623876dfc20efa86c639498
parent 5290a0e1fffeb61f0062ebca98e45a6a5ba75711
author Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:56:54 +0200 committer Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:56:54 +0200
drivers/sbus/char/cpwatchdog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/sbus/char/cpwatchdog.c +1 -1
@@ -154,7 +154,7 @@ struct wd_device { };static struct wd_device wd_dev = { -0 ,SPIN_LOCK_UNLOCKED ,0 ,0 ,0 ,0 , +0 ,__SPIN_LOCK_UNLOCKED (wd_dev.lock),0 ,0 ,0 ,0 , };static struct timer_list wd_timer;
PATCH 4/5 FS: sysfs, remove SPIN_LOCK_UNLOCKED
In reply to Jiri Slabysysfs, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
---
commit 828042d12cc0aa515e049889aa76d4066df100c0
tree 85652493f11a06d0a1cda316d0f88a2ee7117d50
parent 4e91ba06c53856bfaab065aaf9fd8f5b0dd59f6f
author Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:58:48 +0200 committer Jiri Slaby <[email protected]> Thu, 25 Oct 2007 11:58:48 +0200
fs/sysfs/file.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/sysfs/file.c +1 -1
@@ -37,7 +37,7 @@ void sysfs_printk_last_file(void)* sysfs_dirent->s_attr.open points to sysfs_open_dirent. s_attr.open * is protected by sysfs_open_dirent_lock. */ -static spinlock_t sysfs_open_dirent_lock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (sysfs_open_dirent_lock);struct sysfs_open_dirent {atomic_t refcnt;
PATCH 5/5 Net: sunrpc, remove SPIN_LOCK_UNLOCKED
In reply to Jiri Slabysunrpc, remove SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead
---
commit d5e782e62a4fe2663a012571c3444445d9887b02
tree b993038b020d8c619f6ffdad412fbb992c073513
parent 828042d12cc0aa515e049889aa76d4066df100c0
author Jiri Slaby <[email protected]> Thu, 25 Oct 2007 12:00:13 +0200 committer Jiri Slaby <[email protected]> Thu, 25 Oct 2007 12:00:13 +0200
net/sunrpc/xprt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
net/sunrpc/xprt.c +1 -1
@@ -62,7 +62,7 @@ static inline void do_xprt_reserve(struct rpc_task *);static void xprt_connect_status (struct rpc_task *task);static int __xprt_get_cong (struct rpc_xprt *,struct rpc_task *); -static spinlock_t xprt_list_lock =SPIN_LOCK_UNLOCKED ; +static DEFINE_SPINLOCK (xprt_list_lock);static LIST_HEAD (xprt_list);/*
Re: [PATCH 2/5] Watchdog: bfin_wdt, remove SPIN_LOCK_UNLOCKED
In reply to Jiri SlabyQuoted 3 lines · Jiri Slaby
bfin_wdt, removeSPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKEDis deprecated, useDEFINE_SPINLOCKinstead
thanks
-mike
Re: [PATCH 2/5] Watchdog: bfin_wdt, remove SPIN_LOCK_UNLOCKED
In reply to Jiri SlabyHi All,
Quoted 3 lines
bfin_wdt, removeSPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKEDis deprecated, useDEFINE_SPINLOCKinstead
Added to linux-2.6-watchdog-mm git tree.
Greetings,
Wim.
Re: [PATCH 3/5] Sbus: cpwatchdog, remove SPIN_LOCK_UNLOCKED
In reply to Jiri SlabyHi All,
Quoted 4 lines
cpwatchdog, remove
SPIN_LOCK_UNLOCKED
SPIN_LOCK_UNLOCKEDis deprecated, use__SPIN_LOCK_UNLOCKEDwith an unique name instead
Added to linux-2.6-watchdog-mm git tree.
Greetings,
Wim.