提交 58591942 编写于 作者: R Robin Holt 提交者: Linus Torvalds

reboot: arm: remove unused restart_mode fields from some arm subarchs

These restart_mode fields are not used at all.  Remove them to make
moving the reboot= cmdline options to the general kernel easier.
Signed-off-by: NRobin Holt <holt@sgi.com>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Russ Anderson <rja@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Guan Xuetao <gxt@mprc.pku.edu.cn>
Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c97a7008
...@@ -321,7 +321,6 @@ MACHINE_START(EBSA110, "EBSA110") ...@@ -321,7 +321,6 @@ MACHINE_START(EBSA110, "EBSA110")
.atag_offset = 0x400, .atag_offset = 0x400,
.reserve_lp0 = 1, .reserve_lp0 = 1,
.reserve_lp2 = 1, .reserve_lp2 = 1,
.restart_mode = 's',
.map_io = ebsa110_map_io, .map_io = ebsa110_map_io,
.init_early = ebsa110_init_early, .init_early = ebsa110_init_early,
.init_irq = ebsa110_init_irq, .init_irq = ebsa110_init_irq,
......
...@@ -761,7 +761,6 @@ static void mioa701_machine_exit(void) ...@@ -761,7 +761,6 @@ static void mioa701_machine_exit(void)
MACHINE_START(MIOA701, "MIO A701") MACHINE_START(MIOA701, "MIO A701")
.atag_offset = 0x100, .atag_offset = 0x100,
.restart_mode = 's',
.map_io = &pxa27x_map_io, .map_io = &pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS, .nr_irqs = PXA_NR_IRQS,
.init_irq = &pxa27x_init_irq, .init_irq = &pxa27x_init_irq,
......
...@@ -979,7 +979,6 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline, ...@@ -979,7 +979,6 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline,
#ifdef CONFIG_MACH_SPITZ #ifdef CONFIG_MACH_SPITZ
MACHINE_START(SPITZ, "SHARP Spitz") MACHINE_START(SPITZ, "SHARP Spitz")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS, .nr_irqs = PXA_NR_IRQS,
...@@ -993,7 +992,6 @@ MACHINE_END ...@@ -993,7 +992,6 @@ MACHINE_END
#ifdef CONFIG_MACH_BORZOI #ifdef CONFIG_MACH_BORZOI
MACHINE_START(BORZOI, "SHARP Borzoi") MACHINE_START(BORZOI, "SHARP Borzoi")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS, .nr_irqs = PXA_NR_IRQS,
...@@ -1007,7 +1005,6 @@ MACHINE_END ...@@ -1007,7 +1005,6 @@ MACHINE_END
#ifdef CONFIG_MACH_AKITA #ifdef CONFIG_MACH_AKITA
MACHINE_START(AKITA, "SHARP Akita") MACHINE_START(AKITA, "SHARP Akita")
.restart_mode = 'g',
.fixup = spitz_fixup, .fixup = spitz_fixup,
.map_io = pxa27x_map_io, .map_io = pxa27x_map_io,
.nr_irqs = PXA_NR_IRQS, .nr_irqs = PXA_NR_IRQS,
......
...@@ -969,7 +969,6 @@ static void __init fixup_tosa(struct tag *tags, char **cmdline, ...@@ -969,7 +969,6 @@ static void __init fixup_tosa(struct tag *tags, char **cmdline,
} }
MACHINE_START(TOSA, "SHARP Tosa") MACHINE_START(TOSA, "SHARP Tosa")
.restart_mode = 'g',
.fixup = fixup_tosa, .fixup = fixup_tosa,
.map_io = pxa25x_map_io, .map_io = pxa25x_map_io,
.nr_irqs = TOSA_NR_IRQS, .nr_irqs = TOSA_NR_IRQS,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册