vt_core: delay the shutdown splash event handler
Even though the functions are currently executed in the correct order,
there's no garuntee that this will always be the case.
Reported by: kevans
Discussed with: kevans
Fixes: 4b862c713a
MFC after: 3 days
This commit is contained in:
@@ -3193,7 +3193,7 @@ vt_upgrade(struct vt_device *vd)
|
||||
vt_window_switch, vw, SHUTDOWN_PRI_DEFAULT);
|
||||
#ifdef DEV_SPLASH
|
||||
EVENTHANDLER_REGISTER(shutdown_pre_sync,
|
||||
vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT);
|
||||
vt_shutdown_splash, vw, SHUTDOWN_PRI_DEFAULT + 1);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user