]> 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)
commita28eb6d1681ae25028564106237be2a48c6da1e1
tree590800410ebc3f4b2ac208a3824546f7aac96bbd
parent474b0dec2c4668db7fd45e595189bed47f8c1592
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