From: M. R. B. <mr...@0x...> - 2002-03-26 15:18:22
|
* Dan Kegel <da...@ke...> on Tue, Mar 26, 2002: > Hi, > I forget how to grab the current linux-sh 2.4 tree; can > someone refresh my memory? The CVS archive appears to > be against 2.5.7 now. Does that mean all the 2.4 patches for sh > are already in the mainline kernel? >=20 Add "-r linux-2_4-branch" when checking out the linux/ module. > I wanted to check to see if this patch had already been applied. > It's against the sh kernel as of 2.4.16, and it fixes a buglet > which only shows up when you write a new networking driver > and try to include asm/checksum.h. > (See http://www.cs.helsinki.fi/linux/linux-kernel/2002-03/0357.html > for a similar patch for i386 for 2.4.17.) As of 2.4.18 it's not there. I'll commit this in a couple of hours if no o= ne objects. I don't see any problems with it. M. R. > - Dan >=20 > diff -au linux-2.4.16/include/asm-sh/checksum.h{.orig,} > --- linux-2.4.16/include/asm-sh/checksum.h.orig Tue Mar 26 04:51:51 2002 > +++ linux-2.4.16/include/asm-sh/checksum.h Tue Mar 26 04:52:04 2002 > @@ -10,6 +10,7 @@ > */ >=20 > #include <linux/config.h> > +#include <asm/uaccess.h> >=20 > /* > * computes the checksum of a memory block at buff, length len, |