Merge branch 'linus' into irq/numa
[sfrench/cifs-2.6.git] / arch / powerpc / kernel / cputable.c
index f9c40f869c6e8088abd17d01213377fe5538f985..3e33fb933d991e885172675687e75195f5e52b57 100644 (file)
@@ -1836,7 +1836,7 @@ static void __init setup_cpu_spec(unsigned long offset, struct cpu_spec *s)
                 * and, in that case, keep the current value for
                 * oprofile_cpu_type.
                 */
-               if (old.oprofile_cpu_type == NULL) {
+               if (old.oprofile_cpu_type != NULL) {
                        t->oprofile_cpu_type = old.oprofile_cpu_type;
                        t->oprofile_type = old.oprofile_type;
                }