Skip to content

Commit a135513

Browse files
committed
vt: might_sleep() annotation for do_blank_screen
For symmetry reasons with do_unblank_screen, except without the oops_in_progress special case. Just a drive-by annotation while I'm trying to untangle the fbcon vs. fbdev screen blank/unblank maze. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Sam Ravnborg <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Reviewed-by: Maarten Lankhorst <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Nicolas Pitre <[email protected]> Cc: Adam Borowski <[email protected]> Cc: Martin Hostettler <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Mikulas Patocka <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7076404 commit a135513

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/tty/vt/vt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4166,6 +4166,8 @@ void do_blank_screen(int entering_gfx)
41664166
struct vc_data *vc = vc_cons[fg_console].d;
41674167
int i;
41684168

4169+
might_sleep();
4170+
41694171
WARN_CONSOLE_UNLOCKED();
41704172

41714173
if (console_blanked) {

0 commit comments

Comments
 (0)