]> git.baikalelectronics.ru Git - kernel.git/commitdiff
microblaze: Remove panic_timeout init value
authorMichal Simek <monstr@monstr.eu>
Tue, 8 Dec 2009 16:49:21 +0000 (17:49 +0100)
committerMichal Simek <monstr@monstr.eu>
Mon, 14 Dec 2009 07:45:09 +0000 (08:45 +0100)
panic_timeout is in BSS section and it is cleared with BSS section.
This means that value is setup to 0.

Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/setup.c

index acd70fe30a7102efd35f8ac73191a0e0ecacee0e..1c3f18ba8af12e3a21d7f23a99e77c8f2c529c66 100644 (file)
@@ -58,8 +58,6 @@ void __init setup_arch(char **cmdline_p)
        __invalidate_dcache_all();
        __enable_dcache();
 
-       panic_timeout = 120;
-
        setup_memory();
 
 #if defined(CONFIG_SELFMOD_INTC) || defined(CONFIG_SELFMOD_TIMER)