]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] eliminate duplicate rdpmc definition
authorJan Beulich <JBeulich@novell.com>
Thu, 23 Jun 2005 07:08:38 +0000 (00:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:13 +0000 (09:45 -0700)
Eliminate duplicate definition of rdpmc in x86-64's mtrr.h.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-x86_64/msr.h

index 513e52c718210ccc6047e8204ee736b41aff8f70..bc700232728d8c2c754fc7aebdaf9b745eee95a1 100644 (file)
      (val) = ((unsigned long)__a) | (((unsigned long)__d)<<32); \
 } while(0)
 
-#define rdpmc(counter,low,high) \
-     __asm__ __volatile__("rdpmc" \
-                         : "=a" (low), "=d" (high) \
-                         : "c" (counter))
-
 #define write_tsc(val1,val2) wrmsr(0x10, val1, val2)
 
 #define rdpmc(counter,low,high) \