]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: timer: Fix ioctls for X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:41:47 +0000 (11:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Mar 2016 23:34:54 +0000 (15:34 -0800)
commit7c0fe28f45a58434011e8fe04fa09f595ed3a97f
tree78c1773a6e81511f612cc5605611f02406895f28
parent8a1faa9cd284d1d4f218099d8e478e05e5da142f
ALSA: timer: Fix ioctls for X32 ABI

commit b24e7ad1fdc22177eb3e51584e1cfcb45d818488 upstream.

X32 ABI takes the 64bit timespec, thus the timer user status ioctl becomes
incompatible with IA32.  This results in NOTTY error when the ioctl is
issued.

Meanwhile, this struct in X32 is essentially identical with the one in
X86-64, so we can just bypassing to the existing code for this
specific compat ioctl.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/timer_compat.c