Re: 2.6.18-rc5-git3 build error on i386 - include/asm/spinlock.h

From: Rolf Eike Beer
Date: Thu Aug 31 2006 - 05:41:05 EST


Jesper Juhl wrote:
> 2.6.18-rc5-git2 builds just fine, but with -git3 I get the following :
>
> CHK include/linux/version.h
> CHK include/linux/utsrelease.h
> CC arch/i386/kernel/asm-offsets.s
> In file included from include/linux/spinlock.h:86,
> from include/linux/capability.h:45,
> from include/linux/sched.h:44,
> from include/linux/module.h:9,
> from include/linux/crypto.h:20,
> from arch/i386/kernel/asm-offsets.c:7:
> include/asm/spinlock.h: In function `__raw_read_lock':
> include/asm/spinlock.h:164: error: syntax error before ')' token
> include/asm/spinlock.h: In function `__raw_write_lock':
> include/asm/spinlock.h:169: error: called object is not a function
> include/asm/spinlock.h:169: warning: left-hand operand of comma
> expression has no effect
> include/asm/spinlock.h:169: warning: left-hand operand of comma
> expression has no effect
> include/asm/spinlock.h:169: error: syntax error before ')' token
> make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
> make: *** [prepare0] Error 2
>
> Let me know if there's any additional info you need or patches you
> want me to test.

revert commit 8c74932779fc6f61b4c30145863a17125c1a296c

Author: Andi Kleen <ak@xxxxxxx> Wed, 30 Aug 2006 19:37:14 +0200

[PATCH] i386: Remove alternative_smp

Eike

Attachment: pgp00000.pgp
Description: PGP signature