Re: [PATCH 2/3] x86: clean up bitops-related warnings

From: Jeremy Fitzhardinge
Date: Tue Nov 27 2007 - 18:33:00 EST


Andi Kleen wrote:
> On Wednesday 28 November 2007 00:01:26 Jeremy Fitzhardinge wrote:
>
>> Add casts to appropriate places to silence spurious bitops warnings.
>>
>
> Looks a bit ugly. Perhaps it would be better to define standard wrappers
>
> clear_bit_unaligned/any/bettername() etc. ?

Well, most of the casts are already in wrapper functions. The
setup_64.c ones are ugly, but the following patch cleans them up.

J

-
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/