Messages in this thread Patch in this message |  | | Date | Thu, 29 Aug 2002 21:56:27 +0200 | Subject | [PATCH] 38/41 sound/oss/pas2_card.c - convert cli to spinlocks | From | pwaechtler@mac ... |
| |
--- 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/
|  |