git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
net
/
wan
/
syncppp.c
diff --git
a/drivers/net/wan/syncppp.c
b/drivers/net/wan/syncppp.c
index
2329c23
..
84b65c6
100644
(file)
--- a/
drivers/net/wan/syncppp.c
+++ b/
drivers/net/wan/syncppp.c
@@
-131,7
+131,7
@@
struct cisco_packet {
static struct sppp *spppq;
static struct timer_list sppp_keepalive_timer;
static struct sppp *spppq;
static struct timer_list sppp_keepalive_timer;
-static
spinlock_t spppq_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(spppq_lock)
;
/* global xmit queue for sending packets while spinlock is held */
static struct sk_buff_head tx_queue;
/* global xmit queue for sending packets while spinlock is held */
static struct sk_buff_head tx_queue;
@@
-1483,6
+1483,6
@@
static void __exit sync_ppp_cleanup(void)
module_init(sync_ppp_init);
module_exit(sync_ppp_cleanup);
module_init(sync_ppp_init);
module_exit(sync_ppp_cleanup);
-
MODULE_PARM(debug,"1i"
);
+
module_param(debug, int, 0
);
MODULE_LICENSE("GPL");
MODULE_LICENSE("GPL");