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>
This commit is contained in:
@@ -28,7 +28,7 @@ static void __init sh7751systemh_init_irq(void)
|
||||
make_systemh_irq(0xb); /* Ethernet interrupt */
|
||||
}
|
||||
|
||||
struct sh_machine_vector mv_7751systemh __initmv = {
|
||||
static struct sh_machine_vector mv_7751systemh __initmv = {
|
||||
.mv_name = "7751 SystemH",
|
||||
.mv_nr_irqs = 72,
|
||||
|
||||
@@ -55,4 +55,3 @@ struct sh_machine_vector mv_7751systemh __initmv = {
|
||||
|
||||
.mv_init_irq = sh7751systemh_init_irq,
|
||||
};
|
||||
ALIAS_MV(7751systemh)
|
||||
|
Reference in New Issue
Block a user