Jaques Strap wrote:
> >Jaques Strap wrote:
> > > serialmidi.c:158: invalid operands to binary >
> >
> >The -ac kernel patch makes an incompatible change to the tty
> >structure. Change the offending line to:
> >
> >     if (atomic_read(&tty->count) > 1) {
>
> I do not see the "offending" line in that file,
> "if (atomic_read(&tty->count) > 1) {"  <-----not in file. The words
> "atomic_read" do not appear in that file.

The problem with serialmidi.c is that this line lacks the
"atomic_read" although it's needed with the -ac patch.

The original line is line number 158 in serialmidi.c:

        if (tty->count > 1) {

Change this to:

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


HTH
Clemens




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to