powerpc/pseries: Really fix the oprofile CPU type on pseries
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 14 May 2009 18:34:06 +0000 (18:34 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 15 May 2009 06:43:42 +0000 (16:43 +1000)
commitb173f03d7c48d3346541f26e0b29690dbadca279
tree9eec335a778a6bb715feb4fd0b000fa091d02b0f
parent951c4df5b7703137bf4eee002d98d083fbc890cc
powerpc/pseries: Really fix the oprofile CPU type on pseries

My previous pach for fixing the oprofile CPU type got somewhat mismerged
(by my fault) when it collided with another related patch. This should
finally (fingers crossed) fix the whole thing.

We make sure we keep the -old- oprofile type and CPU type whenever
one of them was specified in the first pass through the function.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/cputable.c