소스 검색

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>
Robin Holt 12 년 전
부모
커밋
5859194278
4개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 1
      arch/arm/mach-ebsa110/core.c
  2. 0 1
      arch/arm/mach-pxa/mioa701.c
  3. 0 3
      arch/arm/mach-pxa/spitz.c
  4. 0 1
      arch/arm/mach-pxa/tosa.c

+ 0 - 1
arch/arm/mach-ebsa110/core.c

@@ -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,

+ 0 - 1
arch/arm/mach-pxa/mioa701.c

@@ -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,

+ 0 - 3
arch/arm/mach-pxa/spitz.c

@@ -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
 
 
 #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
 
 
 #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,

+ 0 - 1
arch/arm/mach-pxa/tosa.c

@@ -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,