WaveFront timing fix for x86-64
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
@@ -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
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.clinux/drivers/sound/wavfront.cdrivers/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]