[PATCH] remove #ifdef __KERNEL__ from atomic.h

Ethan Benson erbenson at alaska.net
Wed Sep 25 17:12:40 EST 2002

On Wed, Sep 25, 2002 at 03:11:16PM +1000, Ben Stanley wrote:
> Hi,
> I was trying to compile sumji (formerly xtunes), which requires
> libCommonC++. I found that libCommonC++ would not compile, because it
> needs to use the atomic functions declared in include/asm-ppc/atomic.h .
> However, this file does not declare these functions unless __KERNEL__ is
> defined. I believe that this is incorrect.

no libcommonc++ is broken for using kernel headers.

i think this has been discussed before, specically the atomic stuff.

Ethan Benson

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list