Re: [PATCH]: x86_64: Remove unnecessary cast in prefetch()

From: Serge Belyshev
Date: Sat Sep 15 2007 - 02:40:51 EST


Andi Kleen <ak@xxxxxxx> writes:

>> This can be fixed better by using gcc's __builtin_prefetch().
>
> I changed it to just use that. Thanks.
>
> It seems like gcc 3.1/3.2 already supported it and that's the earliest gcc
> still supported so it can be used unconditionally.
>

Hi!

Will you submit this patch for inclusion into 2.6.23? It is important
to make kernel work with GCC 4.3 and above. (Also note that gcc 4.2 already
smart enough to break that code, but kernel is just lucky currently).
-
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/