• Takashi Iwai's avatar
    ALSA: timer: Fix ioctls for X32 ABI · b24e7ad1
    Takashi Iwai authored
    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>
    b24e7ad1
timer_compat.c 4.01 KB