[PATCH] powerpc: fix comment in booke_wdt

Dave Jiang djiang at mvista.com
Fri Apr 13 06:34:55 EST 2007


The early kernel parameter is wdt and not wdt_enable. according to
arch/powerpc/kernel/setup_32.c:149.

Signed-off-by: Dave Jiang <djiang at mvista.com>

--

 drivers/char/watchdog/booke_wdt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
--

diff --git a/drivers/char/watchdog/booke_wdt.c b/drivers/char/watchdog/booke_wdt.c
index 4889022..46e04ae 100644
--- a/drivers/char/watchdog/booke_wdt.c
+++ b/drivers/char/watchdog/booke_wdt.c
@@ -24,7 +24,7 @@
 #include <asm/uaccess.h>
 #include <asm/system.h>
 
-/* If the kernel parameter wdt_enable=1, the watchdog will be enabled at boot.
+/* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
  * Also, the wdt_period sets the watchdog timer period timeout.
  * For E500 cpus the wdt_period sets which bit changing from 0->1 will
  * trigger a watchog timeout. This watchdog timeout will occur 3 times, the



More information about the Linuxppc-dev mailing list