Skip to contentSkip to conversation

WaveFront timing fix for x86-64

PATCH In review Vojtech Pavlik 2 participants 2 messages Sep 13, 2001 – Sep 15, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 11/11 WaveFront timing fix for x86-64

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

drivers/sound/wavfront.c +4 -0
diff -urN linux-x86_64/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c
@@ -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"
Signature · 2 lines
Vojtech Pavlik
SuSE Labs
#1 lore raw

Hi!

Quoted 6 lines

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.

Why not current_cpu_data.loops_per_jiffy?

Pavel

Quoted 17 lines

Vojtech

diff -urN linux-x86_64/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c

drivers/sound/wavfront.c +4 -0
@@ -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"
Signature · 2 lines
I'm [email protected]. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [email protected]