[EMAIL PROTECTED] 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
<[EMAIL PROTECTED]> 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

Reply via email to