]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix setting of oprofile cpu type
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 29 Apr 2009 19:39:38 +0000 (19:39 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 1 May 2009 05:12:05 +0000 (15:12 +1000)
commite10295a463644336bea1fba54b315d3a8d006714
treefda8abe7ebbb68c295f92a8c69b162116b0e7bd6
parent7922531c72cacd35a0cafcff5a9f2f2396d83ca3
powerpc: Fix setting of oprofile cpu type

commit e31c0be29cbb551f3f03bc3ff5978e35a7de984e 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>
arch/powerpc/kernel/cputable.c