mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.11-rc2-mm1] perfctl-ppc: fix duplicate mmcr0 define
@ 2005-01-26 21:28 Albert Herranz
  0 siblings, 0 replies; only message in thread
From: Albert Herranz @ 2005-01-26 21:28 UTC (permalink / raw)
  To: akpm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

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

[-- Attachment #2: perfctr-ppc-mmcr0-duplicate-define-fix.patch --]
[-- Type: text/plain, Size: 383 bytes --]

--- a/include/asm-ppc/reg.h	2005-01-26 22:31:19.000000000 +0100
+++ b/include/asm-ppc/reg.h	2005-01-26 22:32:26.000000000 +0100
@@ -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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-01-27  0:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-26 21:28 [PATCH 2.6.11-rc2-mm1] perfctl-ppc: fix duplicate mmcr0 define Albert Herranz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®