Re: [PATCH] bitops operate on unsigned long

Sam Ravnborg (sam@ravnborg.org)
Wed, 17 Jul 2002 21:18:17 +0200


On Tue, Jul 02, 2002 at 01:05:01PM +0200, Geert Uytterhoeven wrote:
>
> Bitops must operate on unsigned long.
> -u32 zorro_unused_z2ram[4] = { 0, 0, 0, 0 };
> +unsigned long zorro_unused_z2ram[128/BITS_PER_LONG];

Consider using bitmap_member from linux/types.h

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