diff options
author | Kumar Gala <galak@freescale.com> | 2005-09-03 18:55:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-09-05 03:05:57 -0400 |
commit | 39cdc4bfb5c587c617ab6a28083c19101154e149 (patch) | |
tree | fce5cd394602d0a003124910d32833e9b9f65d68 /arch/ppc/kernel/setup.c | |
parent | b0531b9b3299f3066b1db78f1693edabbba08b5c (diff) |
[PATCH] ppc32: Cleaned up global namespace of Book-E watchdog variables
Renamed global variables used to convey if the watchdog is enabled and
periodicity of the timer and moved the declarations into a header for these
variables
Signed-off-by: Matt McClintock <msm@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 9c44588f0af..545cfd0fab5 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 | } |