Skip to contentSkip to conversation

score: add head files define in vmlinux.lds.S

PATCH In review Chen Liqin 2 participants 2 messages Sep 22, 2009 Generic include/asm header files

lore
Share & tools
lore

Chen Liqin

author
#0 lore raw

PATCH 1/2 score: add head files define in vmlinux.lds.S

---
 arch/score/kernel/vmlinux.lds.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/score/kernel/vmlinux.lds.S +2 -0
index aab4703..eebcbaa 100644
@@ -24,6 +24,8 @@
  */
 
 #include <asm-generic/vmlinux.lds.h>
+#include <asm/thread_info.h>
+#include <asm/page.h>
 
 OUTPUT_ARCH(score)
 ENTRY(_stext)
Signature · 1 line
1.6.2
#1 lore raw
Quoted 11 lines · Chen Liqin
---
 arch/score/kernel/vmlinux.lds.S |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
arch/score/kernel/vmlinux.lds.S +0 -0
index aab4703..eebcbaa 100644

arch/score/kernel/vmlinux.lds.S line 31

Quoted 8 lines
arch/score/kernel/vmlinux.lds.S +2 -0
@@ -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