From: Andrew Morton Date: Wed, 30 Jan 2008 12:31:17 +0000 (+0100) Subject: x86: __vdso_getcpu() warning fix X-Git-Tag: v2.6.25-rc1~1143^2~587 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e160cc3f3b5c38bba79c58172e82c1e24934546;p=linux-2.6 x86: __vdso_getcpu() warning fix 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 Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h index 040d3910d8..088652a62d 100644 --- a/include/asm-x86/msr.h +++ b/include/asm-x86/msr.h @@ -13,7 +13,7 @@ #include #include -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"