Commit 8e1b5adf authored by Ralf Baechle's avatar Ralf Baechle Committed by Thomas Gleixner

i8253: Make pcsp sound driver use the shared i8253_lock

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Link: http://lkml.kernel.org/r/20110601180610.532642190@duck.linux-mips.netSigned-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 16ba9b06
......@@ -10,14 +10,8 @@
#define __PCSP_H__
#include <linux/hrtimer.h>
#include <linux/timex.h>
#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
/* Use the global PIT lock ! */
#include <linux/i8253.h>
#else
#include <asm/8253pit.h>
static DEFINE_RAW_SPINLOCK(i8253_lock);
#endif
#include <linux/timex.h>
#define PCSP_SOUND_VERSION 0x400 /* read 4.00 */
#define PCSP_DEBUG 0
......
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