powerpc: Fix setting of oprofile cpu type

commit 2657dd4e301d4841ed67a4fac7d145ad8f3e1b28 introduced a
bug where we would now always override the "real" oprofile CPU
type with the "compatible" one provided by a pseudo-PVR in the
device-tree which is incorrect and breaks oprofile on all current
configs since the "compatible" ones aren't yet recognized.

This fixes it.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

+2 -2
+2 -2
arch/powerpc/kernel/cputable.c
··· 1837 1837 * oprofile_cpu_type. 1838 1838 */ 1839 1839 if (old.oprofile_cpu_type == NULL) { 1840 - t->oprofile_cpu_type = s->oprofile_cpu_type; 1841 - t->oprofile_type = s->oprofile_type; 1840 + t->oprofile_cpu_type = old.oprofile_cpu_type; 1841 + t->oprofile_type = old.oprofile_type; 1842 1842 } 1843 1843 } 1844 1844