diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2008-01-30 13:31:17 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 13:31:17 +0100 |
commit | 1e160cc3f3b5c38bba79c58172e82c1e24934546 (patch) | |
tree | dc4cbd9f812bc085904e7c59ce9652bedd574d70 | |
parent | 341d8854d38fe6e7655f7748babae5c25a51aa70 (diff) | |
download | op-kernel-dev-1e160cc3f3b5c38bba79c58172e82c1e24934546.zip op-kernel-dev-1e160cc3f3b5c38bba79c58172e82c1e24934546.tar.gz |
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 <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/asm-x86/msr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h index 040d391..088652a 100644 --- a/include/asm-x86/msr.h +++ b/include/asm-x86/msr.h @@ -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" |