/* Just in case the offload routine itself generates an unhandled exception, clear the offload_routine global before executing.  */
void z_irq_do_offload(void)
/* Just in case the offload routine itself generates an unhandled exception, clear the offload_routine global before executing.  */
void z_irq_do_offload(void)
{
	irq_offload_routine_t tmp;
	if (!_offload_routine) {
		return;
	}
	tmp = _offload_routine;
	_offload_routine = NULL;
	tmp((const void *)offload_param);
}