From ecef2f66be8ec6ee57ec224f4bc8abea6f152a9e Mon Sep 17 00:00:00 2001 From: Jaeseong GIM Date: Tue, 31 Jul 2012 15:25:25 -0700 Subject: [PATCH] mako: debug: add pet_watchdog in the beginning of panic handler sometimes kernel panic is treated as watchdog bark, because watchdog timer could be expired in the middle of panic handling. Change-Id: Ib9b434de2c8738ae6ce2ecf14c26ea356ca8c7a3 --- arch/arm/mach-msm/restart.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-msm/restart.c b/arch/arm/mach-msm/restart.c index 475136abbd2..4e9a67d4f28 100644 --- a/arch/arm/mach-msm/restart.c +++ b/arch/arm/mach-msm/restart.c @@ -221,6 +221,7 @@ void set_ssr_magic_number(const char* subsys_name) void set_kernel_crash_magic_number(void) { + pet_watchdog(); if (ssr_magic_number == 0) __raw_writel(0x6d630100, restart_reason); else