summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hysdn/hysdn_defs.h
diff options
context:
space:
mode:
authorAmol Lad <amol@verismonetworks.com>2006-10-17 09:10:36 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-17 17:18:48 +0200
commit0d9ba869e103d91d471146378ad85bf1fb8e74b4 (patch)
tree9892fa0c36e9ac88ab6810a8b233426747a28423 /drivers/isdn/hysdn/hysdn_defs.h
parent[PATCH] Convert cpu hotplug notifiers to use raw_notifier instead of blocking... (diff)
downloadlinux-0d9ba869e103d91d471146378ad85bf1fb8e74b4.tar.xz
linux-0d9ba869e103d91d471146378ad85bf1fb8e74b4.zip
[PATCH] drivers/isdn/hysdn: save_flags()/cli(), restore_flags() replaced appropriately
With Karsten Keil <kkeil@suse.de> save_flags()/cli() pair is replaced with spin_lock_irqsave() and restore_flags() replaced with spin_unlock_irqrestore() Tested compile only using allmodconfig Signed-off-by: Amol Lad <amol@verismonetworks.com> Acked-by: Karsten Keil <kkeil@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hysdn/hysdn_defs.h')
-rw-r--r--drivers/isdn/hysdn/hysdn_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/isdn/hysdn/hysdn_defs.h b/drivers/isdn/hysdn/hysdn_defs.h
index 461e831592dd..729df4089385 100644
--- a/drivers/isdn/hysdn/hysdn_defs.h
+++ b/drivers/isdn/hysdn/hysdn_defs.h
@@ -188,6 +188,8 @@ typedef struct HYSDN_CARD {
/* init and deinit stopcard for booting, too */
void (*stopcard) (struct HYSDN_CARD *);
void (*releasehardware) (struct HYSDN_CARD *);
+
+ spinlock_t hysdn_lock;
#ifdef CONFIG_HYSDN_CAPI
struct hycapictrl_info {
char cardname[32];