Re: 2.6.9-rc3-mm2: error: `u64' used prior to declaration

From: Adrian Bunk
Date: Mon Oct 04 2004 - 10:42:07 EST


On Tue, Oct 05, 2004 at 12:41:02AM +1000, Eyal Lebedinsky wrote:

> CC [M] drivers/media/dvb/bt8xx/dvb-bt8xx.o
> In file included from drivers/media/dvb/bt8xx/dvb-bt8xx.c:22:
> include/asm/bitops.h:543: error: parse error before "rol64"
>...

The first error is the most interesting one.

> include/asm/types.h: At top level:
> include/asm/types.h:50: error: `u64' used prior to declaration
> make[4]: *** [drivers/media/dvb/bt8xx/dvb-bt8xx.o] Error 1
>...
>
> I just added
> #include <asm/types.h>
> to the top of
> include/asm/bitops.h
> and the build finished
>...

The real problem seem to be files including asm/bitops.h instead of
linux/bitops.h .

@Andrew:
Would you accept a patch that changes all #include <asm/bitops.h> to
#include <linux/bitops.h> ?

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

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