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: Robin 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: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
此提交包含在:
@@ -979,7 +979,6 @@ static void __init spitz_fixup(struct tag *tags, char **cmdline,
|
||||
|
||||
#ifdef CONFIG_MACH_SPITZ
|
||||
MACHINE_START(SPITZ, "SHARP Spitz")
|
||||
.restart_mode = 'g',
|
||||
.fixup = spitz_fixup,
|
||||
.map_io = pxa27x_map_io,
|
||||
.nr_irqs = PXA_NR_IRQS,
|
||||
@@ -993,7 +992,6 @@ MACHINE_END
|
||||
|
||||
#ifdef CONFIG_MACH_BORZOI
|
||||
MACHINE_START(BORZOI, "SHARP Borzoi")
|
||||
.restart_mode = 'g',
|
||||
.fixup = spitz_fixup,
|
||||
.map_io = pxa27x_map_io,
|
||||
.nr_irqs = PXA_NR_IRQS,
|
||||
@@ -1007,7 +1005,6 @@ MACHINE_END
|
||||
|
||||
#ifdef CONFIG_MACH_AKITA
|
||||
MACHINE_START(AKITA, "SHARP Akita")
|
||||
.restart_mode = 'g',
|
||||
.fixup = spitz_fixup,
|
||||
.map_io = pxa27x_map_io,
|
||||
.nr_irqs = PXA_NR_IRQS,
|
||||
|
新增問題並參考
封鎖使用者