| Submitter | Laurentiu TUDOR |
|---|---|
| Date | March 5, 2013, 3:52 p.m. |
| Message ID | <1362498769-438-1-git-send-email-Laurentiu.Tudor@freescale.com> |
| Download | mbox | patch |
| Permalink | /patch/225059/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c index c0bc92d..5eb2040 100644 --- a/drivers/watchdog/booke_wdt.c +++ b/drivers/watchdog/booke_wdt.c @@ -122,6 +122,14 @@ static void __booke_wdt_enable(void *data) val &= ~WDTP_MASK; val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(booke_wdt_period)); +#ifdef CONFIG_PPC_BOOK3E_64 + /* + * Crit ints are currently broken on PPC64 Book-E, so + * just disable them for now. + */ + val &= ~TCR_WIE; +#endif + mtspr(SPRN_TCR, val); }