aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-05-14 19:12:37 +0900
committerPaul Mundt <lethal@hera.kernel.org>2007-06-08 02:43:39 +0000
commit25f8151bdcdd62c6b879e3669a562c0d329eee4a (patch)
tree9009ad59ee58ce1d0e0f7ba6a35efa726d29e22b /include
parentba36197cf4ff68f631bb1b3d4cc442d567279fe3 (diff)
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')
-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 88a973edcf1..cb015b8bb36 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 */