Subject: Re: [linux-audio-dev] Jack and msr.h -> no ppc-hardware!
From: Jörn Nettingsmeier (nettings_AT_folkwang-hochschule.de)
Date: Tue Mar 05 2002 - 13:37:12 EET
lorenz.schori_AT_gmx.ch wrote:
>
> hi poeple
>
> why does jack, and so many other audio apps and libs use <asm/msr.h>? it
> doesen't exist in the ppc-tree of the linux kernel. so please don't use these
> functions, or tell me what they mean exactly (and in the context). maybe i
> could look for ppc-variants...
i had a similar problem with missing headers when compiling alsa a
few months ago.
eventually, takashi sent me a fix for the alsa code.
in msr.h, it says
/*
* Access to machine-specific registers (available on 586 and better
only)
* Note: the rd* operations modify the parameters directly (without
using
* pointer indirection), this allows gcc to optimize better
*/
so it's not really surprising that it's missing in asm-ppc :)
looks like somebody over-optimized a little.
you might want to ask on linux-ppc-dev
<linuxppc-dev_AT_lists.linuxppc.org> for ppc alternatives.
btw, didn't linus strongly discourage the usage of kernel header
files for userspace apps ?
how come they are needed now ?
regards,
jörn
-- Computer Science is no more about computers than astronomy is about telescopes. - Edsger W. Dijkstra Sigh. - me
This archive was generated by hypermail 2b28 : Tue Mar 05 2002 - 13:27:18 EET