Subject: Re: [ecasound] trying to port things to ultralinux etc.
From: Junichi Uekawa (email@example.com)
Date: Mon Jan 29 2001 - 18:09:26 EET
In Sun, 28 Jan 2001 23:57:18 +0200 (EET) Kai Vehmanen <firstname.lastname@example.org> cum veritate scripsit :
> >> +#define __KERNEL__ 1
> >> #include <asm/atomic.h>
> >> +#undef __KERNEL__
> > Anyways, patch applied.
> I'll take that back - not applied. Although this works for some
> using __KERNEL__ from a user-space app might cause problems. But no
> I wrote a dedicated macro for checking asm/atomic.h. So instead of
> HAVE_ASM_ATOMIC_H we can now use USE_ASM_ATOMIC.
Yup, sounds like a better idea, because using __KERNEL__
where atomic.h has some #ifdef SMP branching seems like a very inappropriate
thing to do.
I think it's nicer to write a
thing to check if including atomic.h will provide a read_atomic function.
# and goes off to check if the last upload did get compiled by the
# sparc build daemon, and finds out that it actually has been compiled.
-- University: email@example.com Netfort: firstname.lastname@example.org Debian: email@example.com dancer, a.k.a. Junichi Uekawa http://www.netfort.gr.jp/~dancer Dept. of Knowledge Engineering and Computer Science, Doshisha University. -- To unsubscribe send message 'unsubscribe' in the body of the message to <firstname.lastname@example.org>.
This archive was generated by hypermail 2b28 : Mon Jan 29 2001 - 18:38:24 EET