From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: linuxppc-dev@ozlabs.org,
Andrew Morton <akpm@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc2-mm2 build error on MIPS and ARM
Date: Sun, 12 Aug 2007 09:35:52 -0400 [thread overview]
Message-ID: <20070812133552.GA21643@Krystal> (raw)
In-Reply-To: <1186825800.32314.2.camel@localhost>
* Martin Schwidefsky (schwidefsky@de.ibm.com) wrote:
> On Fri, 2007-08-10 at 22:58 -0400, Mathieu Desnoyers wrote:
> > I got the following errors when building 2.6.23-rc2-mm2 on both mips and
> > arm. Both errors are very much alike.
>
> That attached patch should fix it for arm and mips. I'll try a few more
> architectures until I'm fed up with compiling cross-compilers..
>
It fixes the problem for me, thanks!
Tested-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu
> --
> blue skies,
> Martin.
>
> "Reality continues to ruin my life." - Calvin.
> ---
> Subject: [PATCH] move mm_struct and vm_area_struct, compile fix.
>
> From: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> Include <asm/page.h> in <linux/mm_types.h> to make mips and arm
> compile again after mm_struct and vm_area_struct have been moved.
>
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> ---
>
> include/linux/mm_types.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -urpN linux-2.6/include/linux/mm_types.h
> linux-2.6-patched/include/linux/mm_types.h
> --- linux-2.6/include/linux/mm_types.h 2007-08-11 11:30:10.000000000
> +0200
> +++ linux-2.6-patched/include/linux/mm_types.h 2007-08-11
> 11:32:42.000000000 +0200
> @@ -11,6 +11,7 @@
> #include <linux/rwsem.h>
> #include <linux/completion.h>
> #include <asm/mmu.h>
> +#include <asm/page.h>
>
> struct address_space;
>
>
>
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
WARNING: multiple messages have this Message-ID (diff)
From: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
To: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.23-rc2-mm2 build error on MIPS and ARM
Date: Sun, 12 Aug 2007 09:35:52 -0400 [thread overview]
Message-ID: <20070812133552.GA21643@Krystal> (raw)
In-Reply-To: <1186825800.32314.2.camel@localhost>
* Martin Schwidefsky (schwidefsky@de.ibm.com) wrote:
> On Fri, 2007-08-10 at 22:58 -0400, Mathieu Desnoyers wrote:
> > I got the following errors when building 2.6.23-rc2-mm2 on both mips and
> > arm. Both errors are very much alike.
>
> That attached patch should fix it for arm and mips. I'll try a few more
> architectures until I'm fed up with compiling cross-compilers..
>
It fixes the problem for me, thanks!
Tested-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Mathieu
> --
> blue skies,
> Martin.
>
> "Reality continues to ruin my life." - Calvin.
> ---
> Subject: [PATCH] move mm_struct and vm_area_struct, compile fix.
>
> From: Martin Schwidefsky <schwidefsky@de.ibm.com>
>
> Include <asm/page.h> in <linux/mm_types.h> to make mips and arm
> compile again after mm_struct and vm_area_struct have been moved.
>
> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
> ---
>
> include/linux/mm_types.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff -urpN linux-2.6/include/linux/mm_types.h
> linux-2.6-patched/include/linux/mm_types.h
> --- linux-2.6/include/linux/mm_types.h 2007-08-11 11:30:10.000000000
> +0200
> +++ linux-2.6-patched/include/linux/mm_types.h 2007-08-11
> 11:32:42.000000000 +0200
> @@ -11,6 +11,7 @@
> #include <linux/rwsem.h>
> #include <linux/completion.h>
> #include <asm/mmu.h>
> +#include <asm/page.h>
>
> struct address_space;
>
>
>
--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68
next prev parent reply other threads:[~2007-08-12 13:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-11 2:58 2.6.23-rc2-mm2 build error on MIPS and ARM Mathieu Desnoyers
2007-08-11 2:58 ` Mathieu Desnoyers
2007-08-11 8:56 ` Martin Schwidefsky
2007-08-11 8:56 ` Martin Schwidefsky
2007-08-11 9:50 ` Martin Schwidefsky
2007-08-11 9:50 ` Martin Schwidefsky
2007-08-11 9:56 ` Sam Ravnborg
2007-08-11 9:56 ` Sam Ravnborg
2007-08-11 10:54 ` Martin Schwidefsky
2007-08-11 10:54 ` Martin Schwidefsky
2007-08-11 11:35 ` Sam Ravnborg
2007-08-11 11:35 ` Sam Ravnborg
2007-08-12 13:35 ` Mathieu Desnoyers [this message]
2007-08-12 13:35 ` Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070812133552.GA21643@Krystal \
--to=mathieu.desnoyers@polymtl.ca \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=schwidefsky@de.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.