Re: [PATCH] advansys.c: include missing restore_flags, etc

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Tue, 9 Jan 2001 08:06:02 -0200


Em Tue, Jan 09, 2001 at 08:30:07AM +0100, Pauline Middelink escreveu:
> > +STATIC unsigned long
> > DvcEnterCritical(void)
> > {
> > - int flags;
> > + unsigned long flags;
> >
> > save_flags(flags);
> > cli();
> > @@ -9965,7 +9972,7 @@
> > }
>
> Err, according tho wise ppl on this list, this does not work on
> MIPSes. The flags thing must stay in the same stackframe.
>
> (I know, not your fault, but since you are patching the driver...)

yap, know that, just thought that this beast was only for i386, will submit
another patch, and I think that some other drivers does this as well...

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/