MIPS: Warn if vector register partitioning is implemented
[linux-2.6-block.git] / arch / mips / kernel / cpu-probe.c
index 420d2fc595d028563c27f93143b1f1fac300f700..dec20f580ceae1dc47404614b9afafe94b59c657 100644 (file)
@@ -1195,8 +1195,11 @@ void cpu_probe(void)
        else
                c->srsets = 1;
 
-       if (cpu_has_msa)
+       if (cpu_has_msa) {
                c->msa_id = cpu_get_msa_id();
+               WARN(c->msa_id & MSA_IR_WRPF,
+                    "Vector register partitioning unimplemented!");
+       }
 
        cpu_probe_vmbits(c);