Messages in this thread | | | Date | Thu, 28 Feb 2008 10:02:44 +0200 | From | Adrian Bunk <> | Subject | Re: [2.6.25 patch] drivers/crypto/hifn_795x.c: fix 64bit division |
| |
On Tue, Feb 26, 2008 at 10:47:19PM -0800, Andrew Morton wrote: >... > Something like this:
Generally agreed, but
> --- a/include/linux/delay.h~a > +++ a/include/linux/delay.h > @@ -7,10 +7,12 @@ > * Delay routines, using a pre-computed "loops_per_jiffy" value. > */ > > -extern unsigned long loops_per_jiffy; > +#include <linux/kernel.h> > > #include <asm/delay.h> > > +extern unsigned long loops_per_jiffy; > + >...
this part of your patch breaks m68k:
<-- snip -->
... CC init/main.o In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/delay.h:12, from /home/bunk/linux/kernel-2.6/git/linux-2.6/init/main.c:19: include2/asm/delay.h: In function '__const_udelay': include2/asm/delay.h:33: error: 'loops_per_jiffy' undeclared (first use in this function) include2/asm/delay.h:33: error: (Each undeclared identifier is reported only once include2/asm/delay.h:33: error: for each function it appears in.) make[2]: *** [init/main.o] Error 1
<-- snip -->
cu Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed
| |