Kent williams wrote:
> I hit this one... change line 164 of serialmidi.c to
>
>         if (tty->count.counter > 1) {
>
> from
>         if (tty->count > 1) {
>
> Somewhere along the line, the kernel code changed count from
> a scalar to a union with one member -- a volatile int.

count changed to be an atomic_t variable, so a more correct (and
portable) way to fix this line is:

        if (atomic_read(&tty->count) > 1) {


HTH
Clemens




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to