mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
Re-enable watchdog in watchdog_reload()
Signed-off-by: Randall Spangler <rspangler@chromium.org> BUG=chrome-os-partner:8971 TEST=manual waitms 1500 (see watchdog trace) waitms 1500 (should see watchdog trace again) waitms 3000 (should see trace, then system should reboot) Change-Id: Ieb5009d7a7bc9e1ed795e58efb0cb44a1eeb2706
This commit is contained in:
@@ -94,6 +94,15 @@ void task_disable_irq(int irq);
|
||||
/* Software-triggers an interrupt. */
|
||||
void task_trigger_irq(int irq);
|
||||
|
||||
/* Clears a pending interrupt.
|
||||
*
|
||||
* Note that most interrupts can be removed from the pending state simply by
|
||||
* handling whatever caused the interrupt in the first place. This only needs
|
||||
* to be called if an interrupt handler disables itself without clearing the
|
||||
* reason for the interrupt, and then the interrupt is re-enabled from a
|
||||
* different context. */
|
||||
void task_clear_pending_irq(int irq);
|
||||
|
||||
struct mutex {
|
||||
uint32_t lock;
|
||||
uint32_t waiters;
|
||||
|
||||
Reference in New Issue
Block a user