mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
remove typo
This commit is contained in:
parent
5822a1dc29
commit
ad99a7995b
1 changed files with 11 additions and 2 deletions
|
@ -224,10 +224,16 @@ int network_shutdown(void);
|
|||
|
||||
#ifdef DYNAMIC_TICKS
|
||||
/** @brief check, if the tick counter has to be updated
|
||||
* */
|
||||
*/
|
||||
void check_ticks(void);
|
||||
#endif
|
||||
|
||||
volatile extern uint32_t go_down;
|
||||
|
||||
/** @brief shutdown the hole system
|
||||
*/
|
||||
void shutdown_system(void);
|
||||
|
||||
static inline void check_workqueues_in_irqhandler(int irq)
|
||||
{
|
||||
#ifdef DYNAMIC_TICKS
|
||||
|
@ -235,8 +241,11 @@ static inline void check_workqueues_in_irqhandler(int irq)
|
|||
#endif
|
||||
check_timers();
|
||||
|
||||
if (irq < 0)
|
||||
if (irq < 0) {
|
||||
if (go_down)
|
||||
shutdown_system();
|
||||
check_scheduling();
|
||||
}
|
||||
}
|
||||
|
||||
static inline void check_workqueues(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue