[PATCH 14/14] event: Use an event to replace last_stage_init()