aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorAkinobu Mita <[email protected]>2017-01-05 17:14:16 +0000
committerGreg Kroah-Hartman <[email protected]>2017-01-11 08:22:54 +0000
commit802c03881f29844af0252b6e22be5d2f65f93fd0 (patch)
treef256b13165e919b208c6502228315acdbf11f648 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentRevert "tty: serial: 8250: add CON_CONSDEV to flags" (diff)
downloadkernel-802c03881f29844af0252b6e22be5d2f65f93fd0.tar.gz
kernel-802c03881f29844af0252b6e22be5d2f65f93fd0.zip
sysrq: attach sysrq handler correctly for 32-bit kernel
The sysrq input handler should be attached to the input device which has a left alt key. On 32-bit kernels, some input devices which has a left alt key cannot attach sysrq handler. Because the keybit bitmap in struct input_device_id for sysrq is not correctly initialized. KEY_LEFTALT is 56 which is greater than BITS_PER_LONG on 32-bit kernels. I found this problem when using a matrix keypad device which defines a KEY_LEFTALT (56) but doesn't have a KEY_O (24 == 56%32). Cc: Jiri Slaby <[email protected]> Signed-off-by: Akinobu Mita <[email protected]> Acked-by: Dmitry Torokhov <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions