[POWERPC] Add PMC type to cputable
authorOlof Johansson <olof@lixom.net>
Mon, 29 Jan 2007 03:23:54 +0000 (21:23 -0600)
committerPaul Mackerras <paulus@samba.org>
Wed, 7 Feb 2007 03:03:19 +0000 (14:03 +1100)
commit1bd2e5ae18a8f93333707d81d3dbd9209a255137
tree72feb6bae2a8dea311e2d9f2e412cfbc69a952fb
parentc69b767a2c871bb80cb9e346d6ebce248f711dfb
[POWERPC] Add PMC type to cputable

Add cputable entries for which type of PMC implementation the processor
has.

I've only filled in the current 64-bit processors, the unfilled default
value will have same behaviour as before so it can be done over time
as needed.

Also tidy up the dummy_perf implementation a bit, aggregating it into
one function with ifdefs instead of several.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/cputable.c
arch/powerpc/kernel/pmc.c
include/asm-powerpc/cputable.h