Re: patch-2.6.9-rc1-bk2 compile failure

From: Peter Maas
Date: Thu Aug 26 2004 - 16:24:29 EST


I'm guessing
static inline unsigned read_seqbegin const seqlock_t *sl)
{
unsigned ret = sl->sequence;
smp_rmb();
return ret;
}

Should Be....

static inline unsigned read_seqbegin(const seqlock_t *sl)
{
unsigned ret = sl->sequence;
smp_rmb();
return ret;
}

Peter maas

----- Original Message -----
From: "Peter Maas" <peter@xxxxxxx>
To: <linux-kernel@xxxxxxxxxxxxxxx>
Sent: Thursday, August 26, 2004 4:01 PM
Subject: patch-2.6.9-rc1-bk2 compile failure


> Havent seen this posted to the LKML yet, but someone should have a quick
> answer for me.
>
> Compile failure on 2.6.9-rc1-bk2
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
> CHK include/linux/compile.h
> CPP arch/i386/kernel/vsyscall.lds.s
> SYSCALL arch/i386/kernel/vsyscall-int80.so
> SYSCALL arch/i386/kernel/vsyscall-sysenter.so
> AS arch/i386/kernel/vsyscall.o
> SYSCALL arch/i386/kernel/vsyscall-syms.o
> LD arch/i386/kernel/built-in.o
> CC arch/i386/lib/delay.o
> In file included from include/linux/time.h:28,
> from include/linux/timex.h:186,
> from include/linux/sched.h:11,
> from arch/i386/lib/delay.c:14:
> include/linux/seqlock.h:76: error: syntax error before "const"
> include/linux/seqlock.h:76: error: syntax error before ')' token
> make[1]: *** [arch/i386/lib/delay.o] Error 1
> make: *** [arch/i386/lib] Error 2

-
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/