public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [x86-64 patch 11/11] WaveFront timing fix for x86-64
@ 2001-09-13 16:45 Vojtech Pavlik
  2001-09-14 21:00 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Vojtech Pavlik @ 2001-09-13 16:45 UTC (permalink / raw)
  To: torvalds

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [x86-64 patch 11/11] WaveFront timing fix for x86-64
  2001-09-13 16:45 [x86-64 patch 11/11] WaveFront timing fix for x86-64 Vojtech Pavlik
@ 2001-09-14 21:00 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2001-09-14 21:00 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: kernel list

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.

Why not current_cpu_data.loops_per_jiffy?

								Pavel

> 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"
> 

-- 
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-15 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-13 16:45 [x86-64 patch 11/11] WaveFront timing fix for x86-64 Vojtech Pavlik
2001-09-14 21:00 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox