Skip to contentSkip to conversation

patch-2.6.9-rc1-bk2 compile failure

DISCUSSION Peter Maas 1 participant 1 message Aug 26, 2004

lore
Share & tools
lore

Peter Maas

author
#0 lore raw

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