ALSA: timer: Fix ioctls for X32 ABI
authorTakashi Iwai <tiwai@suse.de>
Sun, 28 Feb 2016 10:41:47 +0000 (11:41 +0100)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:12:18 +0000 (13:12 +0000)
commit472e33fef225267eb8c616afa4294058d1e65a9c
tree1b9bd40bd4bb7f5e4a1298e1846935c89ee6c55c
parentf29040baf4c4c11d964f3729ee9f9baab8f9b22a
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