diff options
Diffstat (limited to 'arch/ppc/kernel/setup.c')
-rw-r--r-- | arch/ppc/kernel/setup.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/ppc/kernel/setup.c b/arch/ppc/kernel/setup.c index 9c44588f0afb..545cfd0fab59 100644 --- a/arch/ppc/kernel/setup.c +++ b/arch/ppc/kernel/setup.c | |||
@@ -623,10 +623,8 @@ machine_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
623 | /* Checks wdt=x and wdt_period=xx command-line option */ | 623 | /* Checks wdt=x and wdt_period=xx command-line option */ |
624 | int __init early_parse_wdt(char *p) | 624 | int __init early_parse_wdt(char *p) |
625 | { | 625 | { |
626 | extern u32 wdt_enable; | ||
627 | |||
628 | if (p && strncmp(p, "0", 1) != 0) | 626 | if (p && strncmp(p, "0", 1) != 0) |
629 | wdt_enable = 1; | 627 | booke_wdt_enabled = 1; |
630 | 628 | ||
631 | return 0; | 629 | return 0; |
632 | } | 630 | } |
@@ -634,10 +632,8 @@ early_param("wdt", early_parse_wdt); | |||
634 | 632 | ||
635 | int __init early_parse_wdt_period (char *p) | 633 | int __init early_parse_wdt_period (char *p) |
636 | { | 634 | { |
637 | extern u32 wdt_period; | ||
638 | |||
639 | if (p) | 635 | if (p) |
640 | wdt_period = simple_strtoul(p, NULL, 0); | 636 | booke_wdt_period = simple_strtoul(p, NULL, 0); |
641 | 637 | ||
642 | return 0; | 638 | return 0; |
643 | } | 639 | } |