x86: __vdso_getcpu() warning fix
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 30 Jan 2008 12:31:17 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:17 +0000 (13:31 +0100)
arch/x86/vdso/vgetcpu.c: In function '__vdso_getcpu':
arch/x86/vdso/vgetcpu.c:22: warning: pointer targets in passing argument 1 of 'native_read_tscp' differ in signedness

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/msr.h

index 040d3910d8919b9c4dd87514a56c0f8aba1024e3..088652a62d585d597b2c42f162674aabf68bd89c 100644 (file)
@@ -13,7 +13,7 @@
 #include <asm/asm.h>
 #include <asm/errno.h>
 
-static inline unsigned long long native_read_tscp(int *aux)
+static inline unsigned long long native_read_tscp(unsigned int *aux)
 {
        unsigned long low, high;
        asm volatile (".byte 0x0f,0x01,0xf9"