Re: x86 building altivec for raid ?

From: H. Peter Anvin
Date: Sun Nov 13 2005 - 16:36:06 EST


Neil Brown wrote:
On Sunday November 13, jamagallon@xxxxxxx wrote:

Kernel is 2.6.14-mm2.
This is an x86 box, why does it compile raid6altivec*.c ? I suppose it
does not generate any code, because of some #ifdef magic, but why does
it build them anyways ? Looks a bit strange.

It's probably just easier that way.
I guess you could do the following, but I'm not sure that it is really
worth it.


Yes, it's really just simpler. It ends up being an empty .o file on non-altivec machines.

I don't object to changing it, but it doesn't seem worth it to change it.

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