linux-mips
[Top] [All Lists]

Re: 2.6.23-rc4-mm1: mips compile error

To: Adrian Bunk <bunk@kernel.org>
Subject: Re: 2.6.23-rc4-mm1: mips compile error
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Date: Tue, 4 Sep 2007 01:27:34 -0400
Cc: Andrew Morton <akpm@linux-foundation.org>, Ralf Baechle <ralf@linux-mips.org>, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org
In-reply-to: <20070901154441.GJ9260@stusta.de>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070831215822.26e1432b.akpm@linux-foundation.org> <20070901154441.GJ9260@stusta.de>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.13 (2006-08-11)
* Adrian Bunk (bunk@kernel.org) wrote:
> On Fri, Aug 31, 2007 at 09:58:22PM -0700, Andrew Morton wrote:
> >...
> > Changes since 2.6.23-rc3-mm1:
> >...
> >  git-mips.patch
> >...
> >  git trees
> >...
> 
> <--  snip  -->
> 
> ...
>   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


Mathieu

> 
> cu
> Adrian
> 
> -- 
> 
>        "Is there not promise of rain?" Ling Tan asked suddenly out
>         of the darkness. There had been need of rain for many days.
>        "Only a promise," Lao Er said.
>                                        Pearl S. Buck - Dragon Seed
> 

-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68

<Prev in Thread] Current Thread [Next in Thread>