2009-09-22 07:04:39

by Chen Liqin

[permalink] [raw]
Subject: [PATCH 1/2] score: add head files define in vmlinux.lds.S


Signed-off-by: Chen Liqin <[email protected]>
---
arch/score/kernel/vmlinux.lds.S | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/score/kernel/vmlinux.lds.S b/arch/score/kernel/vmlinux.lds.S
index aab4703..eebcbaa 100644
--- a/arch/score/kernel/vmlinux.lds.S
+++ b/arch/score/kernel/vmlinux.lds.S
@@ -24,6 +24,8 @@
*/

#include <asm-generic/vmlinux.lds.h>
+#include <asm/thread_info.h>
+#include <asm/page.h>

OUTPUT_ARCH(score)
ENTRY(_stext)
--
1.6.2



2009-09-22 07:37:21

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [PATCH 1/2] score: add head files define in vmlinux.lds.S

On Tue, Sep 22, 2009 at 02:32:02PM +0800, Chen Liqin wrote:
>
> Signed-off-by: Chen Liqin <[email protected]>
> ---
> arch/score/kernel/vmlinux.lds.S | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/score/kernel/vmlinux.lds.S b/arch/score/kernel/vmlinux.lds.S
> index aab4703..eebcbaa 100644
> --- a/arch/score/kernel/vmlinux.lds.S
> +++ b/arch/score/kernel/vmlinux.lds.S
> @@ -24,6 +24,8 @@
> */
>
> #include <asm-generic/vmlinux.lds.h>
> +#include <asm/thread_info.h>
> +#include <asm/page.h>
>
> OUTPUT_ARCH(score)
> ENTRY(_stext)

Hi Chen.

I assume this is needed to allow Tim's patchset to build.
The preferred way is that you integrate this into the original
patch and apply it to your tree.

We prefer arch specific patches to go in via the arch trees.

I sometime takes patches in via kbuild that touches a lot
of architectures but stuff like like should go in
via you.

For score (and for other archs) I cannot even build test stuff..

Sam