2002-08-29 21:56:25

by Peter Waechtler

[permalink] [raw]
Subject: [PATCH] 39/41 sound/oss/nm256.h - convert cli to spinlocks

--- vanilla-2.5.32/sound/oss/nm256.h Sat Apr 20 18:25:20 2002
+++ linux-2.5-cli-oss/sound/oss/nm256.h Tue Aug 13 14:04:59 2002
@@ -1,6 +1,7 @@
#ifndef _NM256_H_
#define _NM256_H_

+#include <linux/spinlock.h>
#include "ac97.h"

/* The revisions that we currently handle. */
@@ -33,6 +34,8 @@
int dev_for_play;
int dev_for_record;

+ spinlock_t lock;
+
/* The mixer device. */
int mixer_oss_dev;