summaryrefslogtreecommitdiffstats
path: root/include/asm-sh
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 12:12:37 +0200
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 04:43:39 +0200
commit25f8151bdcdd62c6b879e3669a562c0d329eee4a (patch)
tree9009ad59ee58ce1d0e0f7ba6a35efa726d29e22b /include/asm-sh
parentsh: Fixup cmdline handling from machvec changes. (diff)
downloadlinux-25f8151bdcdd62c6b879e3669a562c0d329eee4a.tar.xz
linux-25f8151bdcdd62c6b879e3669a562c0d329eee4a.zip
sh: Get multiple boards in one image working again.
This tidies up the build rules and permits multiple boards to be linked in to the same kernel. The earlier Kconfig work ensures that the CPU configuration is consistent across the boards, as this is the only thing that we can't do dynamically. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh')
-rw-r--r--include/asm-sh/machvec_init.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sh/machvec_init.h b/include/asm-sh/machvec_init.h
index 88a973edcf15..cb015b8bb365 100644
--- a/include/asm-sh/machvec_init.h
+++ b/include/asm-sh/machvec_init.h
@@ -14,6 +14,6 @@
#define __initmv __attribute__((unused,__section__ (".machvec.init")))
#define ALIAS_MV(system) \
- asm(".global sh_mv\nsh_mv = mv_"#system );
+ asm(".weak sh_mv\nsh_mv = mv_"#system );
#endif /* __SH_MACHVEC_INIT_H */