patch-2.6.9-rc1-bk2 compile failure
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" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 26, 2004 4:01 PM
Subject: patch-2.6.9-rc1-bk2 compile failure
Quoted 21 lines
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.
CHKinclude/linux/compile.h
CPParch/i386/kernel/vsyscall.lds.s
SYSCALLarch/i386/kernel/vsyscall-int80.soSYSCALLarch/i386/kernel/vsyscall-sysenter.so
ASarch/i386/kernel/vsyscall.o
SYSCALLarch/i386/kernel/vsyscall-syms.o
LDarch/i386/kernel/built-in.o
CCarch/i386/lib/delay.o
In file included frominclude/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