• Takashi Iwai's avatar
    ALSA: timer: Fix ioctls for X32 ABI · fb5b8ac0
    Takashi Iwai authored
    [ Upstream commit b24e7ad1 ]
    
    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: default avatarTakashi Iwai <tiwai@suse.de>
    Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
    fb5b8ac0
timer_compat.c 4.01 KB