diff options
-rw-r--r-- | arch/arm/include/asm/mach/arch.h | 8 | ||||
-rw-r--r-- | arch/arm/kernel/setup.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-ebsa110/core.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-footbridge/cats-hw.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/include/asm/mach/arch.h b/arch/arm/include/asm/mach/arch.h index 8aa397a5ea72..6fe6cf0895c9 100644 --- a/arch/arm/include/asm/mach/arch.h +++ b/arch/arm/include/asm/mach/arch.h | |||
@@ -30,10 +30,10 @@ struct machine_desc { | |||
30 | unsigned int video_start; /* start of video RAM */ | 30 | unsigned int video_start; /* start of video RAM */ |
31 | unsigned int video_end; /* end of video RAM */ | 31 | unsigned int video_end; /* end of video RAM */ |
32 | 32 | ||
33 | unsigned int reserve_lp0 :1; /* never has lp0 */ | 33 | unsigned char reserve_lp0 :1; /* never has lp0 */ |
34 | unsigned int reserve_lp1 :1; /* never has lp1 */ | 34 | unsigned char reserve_lp1 :1; /* never has lp1 */ |
35 | unsigned int reserve_lp2 :1; /* never has lp2 */ | 35 | unsigned char reserve_lp2 :1; /* never has lp2 */ |
36 | unsigned int soft_reboot :1; /* soft reboot */ | 36 | char restart_mode; /* default restart mode */ |
37 | void (*fixup)(struct tag *, char **, | 37 | void (*fixup)(struct tag *, char **, |
38 | struct meminfo *); | 38 | struct meminfo *); |
39 | void (*reserve)(void);/* reserve mem blocks */ | 39 | void (*reserve)(void);/* reserve mem blocks */ |
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 4755e2827dc3..a753880e984b 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c | |||
@@ -902,8 +902,8 @@ void __init setup_arch(char **cmdline_p) | |||
902 | machine_desc = mdesc; | 902 | machine_desc = mdesc; |
903 | machine_name = mdesc->name; | 903 | machine_name = mdesc->name; |
904 | 904 | ||
905 | if (mdesc->soft_reboot) | 905 | if (mdesc->restart_mode) |
906 | reboot_setup("s"); | 906 | reboot_setup(&mdesc->restart_mode); |
907 | 907 | ||
908 | init_mm.start_code = (unsigned long) _text; | 908 | init_mm.start_code = (unsigned long) _text; |
909 | init_mm.end_code = (unsigned long) _etext; | 909 | init_mm.end_code = (unsigned long) _etext; |
diff --git a/arch/arm/mach-ebsa110/core.c b/arch/arm/mach-ebsa110/core.c index d0ce8abdd4b6..ce3ed244c4b0 100644 --- a/arch/arm/mach-ebsa110/core.c +++ b/arch/arm/mach-ebsa110/core.c | |||
@@ -283,7 +283,7 @@ MACHINE_START(EBSA110, "EBSA110") | |||
283 | .atag_offset = 0x400, | 283 | .atag_offset = 0x400, |
284 | .reserve_lp0 = 1, | 284 | .reserve_lp0 = 1, |
285 | .reserve_lp2 = 1, | 285 | .reserve_lp2 = 1, |
286 | .soft_reboot = 1, | 286 | .restart_mode = 's', |
287 | .map_io = ebsa110_map_io, | 287 | .map_io = ebsa110_map_io, |
288 | .init_irq = ebsa110_init_irq, | 288 | .init_irq = ebsa110_init_irq, |
289 | .timer = &ebsa110_timer, | 289 | .timer = &ebsa110_timer, |
diff --git a/arch/arm/mach-footbridge/cats-hw.c b/arch/arm/mach-footbridge/cats-hw.c index d5f178540928..60b6774e1eaa 100644 --- a/arch/arm/mach-footbridge/cats-hw.c +++ b/arch/arm/mach-footbridge/cats-hw.c | |||
@@ -86,7 +86,7 @@ fixup_cats(struct tag *tags, char **cmdline, struct meminfo *mi) | |||
86 | MACHINE_START(CATS, "Chalice-CATS") | 86 | MACHINE_START(CATS, "Chalice-CATS") |
87 | /* Maintainer: Philip Blundell */ | 87 | /* Maintainer: Philip Blundell */ |
88 | .atag_offset = 0x100, | 88 | .atag_offset = 0x100, |
89 | .soft_reboot = 1, | 89 | .restart_mode = 's', |
90 | .fixup = fixup_cats, | 90 | .fixup = fixup_cats, |
91 | .map_io = footbridge_map_io, | 91 | .map_io = footbridge_map_io, |
92 | .init_irq = footbridge_init_irq, | 92 | .init_irq = footbridge_init_irq, |