1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove typo

This commit is contained in:
Stefan Lankes 2016-02-14 15:20:56 +01:00
parent 5822a1dc29
commit ad99a7995b

View file

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