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)
commitb24e7ad1fdc22177eb3e51584e1cfcb45d818488
tree590800410ebc3f4b2ac208a3824546f7aac96bbd
parent3a72494ac2a3bd229db941d51e7efe2f6ccd947b
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