Why not wrap all the ppc_altivec = 1 lines in #ifdef ALTIVEC

Or at the end of cpuattach, #ifndef ALTIVEC, zero the variable.

Obviously the sysctl should indicate 0, if the code support is missing.
The sysctl isn't exposing if the cpu has the feature; it is exposing
of the cpu+kernel have all the required support..

Reply via email to