mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
Input: sysrq - drop tty argument form handle_sysrq()
Sysrq operations do not accept tty argument anymore so no need to pass it to us. [Stephen Rothwell <[email protected]>: fix build breakage in drm code caused by sysrq using bool but not including linux/types.h] [Sachin Sant <[email protected]>: fix build breakage in s390 keyboadr driver] Acked-by: Alan Cox <[email protected]> Acked-by: Jason Wessel <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
1495cc9df4
commit
f335397d17
14 changed files with 22 additions and 27 deletions
|
|
@ -492,7 +492,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags)
|
|||
sysrq_requested = 0;
|
||||
if (ch && time_before(jiffies, sysrq_timeout)) {
|
||||
spin_unlock_irqrestore(&port->sc_port.lock, flags);
|
||||
handle_sysrq(ch, NULL);
|
||||
handle_sysrq(ch);
|
||||
spin_lock_irqsave(&port->sc_port.lock, flags);
|
||||
/* ignore actual sysrq command char */
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Reference in a new issue