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

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Tue Jan 09 2001 - 05:06:02 EST


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/



This archive was generated by hypermail 2b29 : Mon Jan 15 2001 - 21:00:21 EST