MIPS: Loongson: Add Loongson-3A R2 basic support
[deliverable/linux.git] / arch / mips / kernel / idle.c
index 46794d64c0bfe3f9779cc43714cc7c3fbb6a10bc..60ab4c44d30557b285a90cc28e7b8ae1dd2ca21a 100644 (file)
@@ -181,6 +181,11 @@ void __init check_wait(void)
        case CPU_XLP:
                cpu_wait = r4k_wait;
                break;
+       case CPU_LOONGSON3:
+               if ((c->processor_id & PRID_REV_MASK) >= PRID_REV_LOONGSON3A_R2)
+                       cpu_wait = r4k_wait;
+               break;
+
        case CPU_BMIPS5000:
                cpu_wait = r4k_wait_irqoff;
                break;
This page took 0.0689419999999999 seconds and 5 git commands to generate.