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
This commit is contained in:
Jaeseong GIM
2012-07-31 15:25:25 -07:00
committed by Iliyan Malchev
parent a907b9b419
commit ecef2f66be

View File

@@ -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