Skip to contentSkip to conversation

perfctl-ppc: fix duplicate mmcr0 define

PATCH New Albert Herranz 1 participant 1 message Jan 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perfctl-ppc: fix duplicate mmcr0 define

Hi,

This small patch fixes a compilation warning due to a duplicate definition of MMCR0_PMXE.

The definition comes in perfctr-ppc.patch, but was recently introduced too in Linus tree.

Cheers,
Albert

______________________________________________
Renovamos el Correo Yahoo!: ¡250 MB GRATIS! Nuevos servicios, más seguridad
http://correo.yahoo.es

include/asm-ppc/reg.h +0 -1
@@ -388,7 +388,6 @@
 #define MMCR0_PMC2_CYCLES	0x1
 #define MMCR0_PMC2_ITLB		0x7
 #define MMCR0_PMC2_LOADMISSTIME	0x5
-#define MMCR0_PMXE		(1 << 26)
 
 /* Short-hand versions for a number of the above SPRNs */
 #define CTR	SPRN_CTR	/* Counter Register */