Commit 81b1edf0 authored by Peter Wächtler's avatar Peter Wächtler Committed by Linus Torvalds

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

parent 2fcfdf56
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <linux/config.h> #include <linux/config.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/spinlock.h>
#include "sound_config.h" #include "sound_config.h"
#include "pas2.h" #include "pas2.h"
...@@ -38,6 +39,7 @@ int translate_code = 0; ...@@ -38,6 +39,7 @@ int translate_code = 0;
static int pas_intr_mask = 0; static int pas_intr_mask = 0;
static int pas_irq = 0; static int pas_irq = 0;
static int pas_sb_base = 0; static int pas_sb_base = 0;
spinlock_t lock=SPIN_LOCK_UNLOCKED;
#ifndef CONFIG_PAS_JOYSTICK #ifndef CONFIG_PAS_JOYSTICK
static int joystick = 0; static int joystick = 0;
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment