]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - lib/smp_processor_id.c
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / lib / smp_processor_id.c
index 690d75b132fa7cfdb41e2f6ae8fd6554db70e9b4..2fb007be02125a17f4c3b3345e656773d49209ae 100644 (file)
@@ -28,7 +28,7 @@ notrace static unsigned int check_preemption_disabled(const char *what1,
        /*
         * It is valid to assume CPU-locality during early bootup:
         */
-       if (system_state != SYSTEM_RUNNING)
+       if (system_state < SYSTEM_SCHEDULING)
                goto out;
 
        /*