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>
このコミットが含まれているのは:
@@ -60,7 +60,7 @@ static void __init dreamcast_setup(char **cmdline_p)
|
||||
#endif
|
||||
}
|
||||
|
||||
struct sh_machine_vector mv_dreamcast __initmv = {
|
||||
static struct sh_machine_vector mv_dreamcast __initmv = {
|
||||
.mv_name = "Sega Dreamcast",
|
||||
.mv_setup = dreamcast_setup,
|
||||
.mv_irq_demux = systemasic_irq_demux,
|
||||
@@ -70,4 +70,3 @@ struct sh_machine_vector mv_dreamcast __initmv = {
|
||||
.mv_consistent_free = dreamcast_consistent_free,
|
||||
#endif
|
||||
};
|
||||
ALIAS_MV(dreamcast)
|
||||
|
新しいイシューから参照
ユーザーをブロックする