• J
    tty: Power: fix suspend vt regression · 797938b5
    Jiri Slaby 提交于
    vt_waitactive no longer accepts console parameter as console-1
    since commit "vt: add an event interface". It expects console
    number directly (as viewed by userspace -- counting from 1).
    
    Fix a deadlock suspend regression by redefining adding one
    to vt in vt_move_to_console.
    Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
    Cc: Alan Cox <alan@linux.intel.com>
    Cc: Greg Kroah-Hartman <gregkh@suse.de>
    Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    797938b5
vt_ioctl.c 40.0 KB