diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-14 06:12:37 -0400 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-07 22:43:39 -0400 |
commit | 25f8151bdcdd62c6b879e3669a562c0d329eee4a (patch) | |
tree | 9009ad59ee58ce1d0e0f7ba6a35efa726d29e22b /include/asm-sh/machvec_init.h | |
parent | ba36197cf4ff68f631bb1b3d4cc442d567279fe3 (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/asm-sh/machvec_init.h')
-rw-r--r-- | include/asm-sh/machvec_init.h | 2 |
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 @@ | |||
14 | 14 | ||
15 | #define __initmv __attribute__((unused,__section__ (".machvec.init"))) | 15 | #define __initmv __attribute__((unused,__section__ (".machvec.init"))) |
16 | #define ALIAS_MV(system) \ | 16 | #define ALIAS_MV(system) \ |
17 | asm(".global sh_mv\nsh_mv = mv_"#system ); | 17 | asm(".weak sh_mv\nsh_mv = mv_"#system ); |
18 | 18 | ||
19 | #endif /* __SH_MACHVEC_INIT_H */ | 19 | #endif /* __SH_MACHVEC_INIT_H */ |