| /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved. |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| #ifndef __ARCH_ARM_MACH_MSM_MSM_WATCHDOG_H |
| #define __ARCH_ARM_MACH_MSM_MSM_WATCHDOG_H |
| /* The base is just address of the WDT_RST register */ |
| struct msm_watchdog_pdata { |
| /* pet interval period in ms */ |
| bool needs_expired_enable; |
| /* You have to be running in secure mode to use FIQ */ |
| struct msm_watchdog_dump { |
| void msm_wdog_fiq_setup(void *stack); |
| extern unsigned int msm_wdog_fiq_length, msm_wdog_fiq_start; |
| extern unsigned int msm7k_fiq_start, msm7k_fiq_length; |
| #ifdef CONFIG_MSM_WATCHDOG |
| static inline void pet_watchdog(void) { } |