[PATCH] 38/41 sound/oss/pas2_card.c - convert cli to spinlocks

From: pwaechtler@mac.com
Date: Thu Aug 29 2002 - 14:56:27 EST


--- vanilla-2.5.32/sound/oss/pas2_card.c Sat Apr 20 18:25:21 2002
+++ linux-2.5-cli-oss/sound/oss/pas2_card.c Tue Aug 13 23:18:58 2002
@@ -7,6 +7,7 @@
 #include <linux/config.h>
 #include <linux/init.h>
 #include <linux/module.h>
+#include <linux/spinlock.h>
 #include "sound_config.h"
 
 #include "pas2.h"
@@ -38,6 +39,7 @@
 static int pas_intr_mask = 0;
 static int pas_irq = 0;
 static int pas_sb_base = 0;
+spinlock_t lock=SPIN_LOCK_UNLOCKED;
 #ifndef CONFIG_PAS_JOYSTICK
 static int joystick = 0;
 #else

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:28 EST