[x86-64 patch 11/11] WaveFront timing fix for x86-64

From: Vojtech Pavlik (vojtech@suse.cz)
Date: Thu Sep 13 2001 - 11:45:41 EST


Hi!

This patch adds necessary timing support for x86-64 into the wavefront
driver.

This is the last patch of the series.

Thanks for your attention.

Vojtech

diff -urN linux-x86_64/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c
--- linux-x86_64/drivers/sound/wavfront.c Thu Sep 13 15:17:33 2001
+++ linux/drivers/sound/wavfront.c Tue Sep 11 09:49:17 2001
@@ -101,6 +101,10 @@
 #if defined(__i386__)
 #define LOOPS_PER_TICK current_cpu_data.loops_per_jiffy
 #endif
+
+#if defined(__x86_64__)
+#define LOOPS_PER_TICK loops_per_jiffy
+#endif
  
 #define _MIDI_SYNTH_C_
 #define MIDI_SYNTH_NAME "WaveFront MIDI"

-- 
Vojtech Pavlik
SuSE Labs
-
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 Sep 15 2001 - 21:00:41 EST