Re: 2.6.23-rc4-mm1: mips compile error

Ralf Baechle
2007-09-04T10:21:58Z

On Tue, Sep 04, 2007 at 01:27:34AM -0400, Mathieu Desnoyers wrote:

> > CC arch/mips/kernel/asm-offsets.s
> > In file included from include2/asm/processor.h:22,
> > from include2/asm/thread_info.h:15,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/thread_info.h:21,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/preempt.h:9,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/spinlock.h:49,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/seqlock.h:29,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/time.h:8,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/timex.h:57,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/include/linux/sched.h:52,
> > from
> > /home/bunk/linux/kernel-2.6/linux-2.6.23-rc4-mm1/arch/mips/kernel/asm-offsets.c:13:
> > include2/asm/system.h:415:39: error: asm-generic/cmpxchg-local.h: No such file or directory
> > make[2]: *** [arch/mips/kernel/asm-offsets.s] Error 1
> >
> > <-- snip -->
> >
>
> Hello,
>
> It is because
> "Add cmpxchg64 and cmpxchg64_local to mips" has been added to the
> git-mips.patch, but it depends on
> "add-cmpxchg-local-to-generic-for-up.patch" which is not merged yet.
>
> It was an error in my series file.
> add-cmpxchg-local-to-generic-for-up.patch should come before these
> patches:
>
> i386-cmpxchg64-80386-80486-fallback.patch
> add-cmpxchg64-to-alpha.patch
> add-cmpxchg64-to-mips.patch
> add-cmpxchg64-to-powerpc.patch
> add-cmpxchg64-to-x86_64.patch

I had add-cmpxchg64-to-mips.patch queued myself also but removed it a few
days ago, so next -mm (if it's not out yet?) should be ok again.

Ralf