diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-05-15 15:19:34 +0900 |
---|---|---|
committer | Paul Mundt <lethal@hera.kernel.org> | 2007-06-08 02:43:39 +0000 |
commit | 82f81f4784479df17a80caff4a7156da0a2f7dea (patch) | |
tree | 3679bd23f2c9daa24f9cf3e170a33f851ed45029 /include/asm-sh/machvec.h | |
parent | 25f8151bdcdd62c6b879e3669a562c0d329eee4a (diff) | |
download | linux-82f81f4784479df17a80caff4a7156da0a2f7dea.tar.gz linux-82f81f4784479df17a80caff4a7156da0a2f7dea.tar.bz2 linux-82f81f4784479df17a80caff4a7156da0a2f7dea.zip |
sh: Kill off machvec aliases.
We now throw all of the machvecs in to .machvec.init and either
select one on the command line, or copy out the first (and
usually only) one to sh_mv. The rest are freed as usual.
This gets rid of all of the silly sh_mv aliasing and makes the
selection explicit rather than link-order dependent.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/machvec.h')
-rw-r--r-- | include/asm-sh/machvec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-sh/machvec.h b/include/asm-sh/machvec.h index 70389b72ffef..088698bacf2f 100644 --- a/include/asm-sh/machvec.h +++ b/include/asm-sh/machvec.h @@ -13,7 +13,6 @@ #include <linux/types.h> #include <linux/time.h> #include <asm/machtypes.h> -#include <asm/machvec_init.h> struct device; @@ -68,4 +67,7 @@ extern struct sh_machine_vector sh_mv; #define get_system_type() sh_mv.mv_name +#define __initmv \ + __attribute_used__ __attribute__((__section__ (".machvec.init"))) + #endif /* _ASM_SH_MACHVEC_H */ |