Skip to content

Commit 7972e96

Browse files
ralfbaechleIngo Molnar
authored andcommitted
MIPS: Remove panic_timeout settings
Now that we have a CONFIG_PANIC_TIMEOUT=x setting, remove the mips settings. The default is 0, which means don't reboot on panic. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Acked-by: Shinya Kuribayashi <skuribay@pobox.com> Signed-off-by: Jason Baron <jbaron@akamai.com> Cc: benh@kernel.crashing.org Cc: paulus@samba.org Cc: mpe@ellerman.id.au Cc: felipe.contreras@gmail.com Cc: linux-mips@linux-mips.org Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Gleixner <tglx@linutronix.de> Link: http://lkml.kernel.org/r/d19dc75fca343ec5d9ada75a1400f57330021976.1385418410.git.jbaron@akamai.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
1 parent 5800dc3 commit 7972e96

File tree

5 files changed

+0
-8
lines changed

5 files changed

+0
-8
lines changed

arch/mips/ar7/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ void __init plat_mem_setup(void)
9292
_machine_restart = ar7_machine_restart;
9393
_machine_halt = ar7_machine_halt;
9494
pm_power_off = ar7_machine_power_off;
95-
panic_timeout = 3;
9695

9796
io_base = (unsigned long)ioremap(AR7_REGS_BASE, 0x10000);
9897
if (!io_base)

arch/mips/emma/markeins/setup.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,6 @@ void __init plat_mem_setup(void)
111111
iomem_resource.start = EMMA2RH_IO_BASE;
112112
iomem_resource.end = EMMA2RH_ROM_BASE - 1;
113113

114-
/* Reboot on panic */
115-
panic_timeout = 180;
116-
117114
markeins_sio_setup();
118115
}
119116

arch/mips/netlogic/xlp/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ static void __init xlp_init_mem_from_bars(void)
9292

9393
void __init plat_mem_setup(void)
9494
{
95-
panic_timeout = 5;
9695
_machine_restart = (void (*)(char *))nlm_linux_exit;
9796
_machine_halt = nlm_linux_exit;
9897
pm_power_off = nlm_linux_exit;

arch/mips/netlogic/xlr/setup.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ static void nlm_linux_exit(void)
9292

9393
void __init plat_mem_setup(void)
9494
{
95-
panic_timeout = 5;
9695
_machine_restart = (void (*)(char *))nlm_linux_exit;
9796
_machine_halt = nlm_linux_exit;
9897
pm_power_off = nlm_linux_exit;

arch/mips/sibyte/swarm/setup.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ void __init plat_mem_setup(void)
134134
#error invalid SiByte board configuration
135135
#endif
136136

137-
panic_timeout = 5; /* For debug. */
138-
139137
board_be_handler = swarm_be_handler;
140138

141139
if (xicor_probe())

0 commit comments

Comments
 (0)