]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 16:49:30 +0000 (17:49 +0100)
commita7db24ea102270a4969587c0158648d6f76a9738
tree590800410ebc3f4b2ac208a3824546f7aac96bbd
parentcb1e6c361f1f827a9f033062f7ca4312258d5117
ALSA: timer: Fix ioctls for X32 ABI

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.

Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/timer_compat.c