]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:26:40 +0000 (10:26 +0100)
commit146fea743e5690257cdef81a86df4a9c1f6115a2
tree1d50adbf9d8e52bf245932068e765beb9da3c1ac
parent07db2c079f584fe44365fb503ebf1eb274a8d137
ALSA: timer: Fix ioctls for X32 ABI

BugLink: http://bugs.launchpad.net/bugs/1555640
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
sound/core/timer_compat.c