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

From: Jesper Juhl
Date: Thu Aug 31 2006 - 05:49:27 EST


On 31/08/06, Rolf Eike Beer <eike-kernel@xxxxxxxxx> wrote:
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


Thanks.

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/