]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch]
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 19 Oct 2005 04:53:32 +0000 (14:53 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 20 Oct 2005 06:22:24 +0000 (16:22 +1000)
commit317d4b675548354856c86ae69fba0f38119df0ab
tree99eea889bb2ec2967a2be883a63ef58507a25cf9
parent719d6fe7096eb7900858b05207297a32ea6b5957
[PATCH] powerpc: Merge ppc64 pmc.[ch] with ppc32 perfmon.[ch]

This patches the ppc32 and ppc64 versions of the headers and .c files
with helper functions for manipulating the performance counting
hardware.  As a side effect, it removes use of the term "perfmon" from
ppc32, thus avoiding confusion with the unrelated performance counter
interface from HP Labs also called "perfmon".

Built, but not booted, for g5, pSeries, iSeries, and 32-bit Powermac
with both ARCH=powerpc and ARCH=ppc{,64} as appropriate.

Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
14 files changed:
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/pmc.c [new file with mode: 0644]
arch/powerpc/kernel/traps.c
arch/powerpc/oprofile/common.c
arch/powerpc/oprofile/op_model_fsl_booke.c
arch/ppc/kernel/Makefile
arch/ppc/kernel/perfmon.c [deleted file]
arch/ppc/kernel/perfmon_fsl_booke.c
arch/ppc/kernel/traps.c
arch/ppc64/kernel/Makefile
arch/ppc64/kernel/pmc.c [deleted file]
include/asm-powerpc/pmc.h [new file with mode: 0644]
include/asm-ppc/perfmon.h [deleted file]
include/asm-ppc64/pmc.h [deleted file]