]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/power8: Fix oprofile and perf
authorMichael Neuling <mikey@neuling.org>
Tue, 4 Jun 2013 19:38:54 +0000 (19:38 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Jun 2013 22:36:19 +0000 (08:36 +1000)
commit2c72ea496165736f82b9cc9da97811bd99710c7d
tree71fe5b72eb068f4133dfc6dec6405fb52513d91d
parent70f10054df9465accd836b9d2b84517ed55d4cdb
powerpc/power8: Fix oprofile and perf

In c3db768 powerpc/cputable: Fix oprofile_cpu_type on power8
we broke all power8 hw events.

This reverts this change and uses oprofile_type instead. Perf now works
on POWER8 again and oprofile will revert to using timers on POWER8.

Kudos to mpe this fix.

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