summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/msr.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-01-30 13:31:17 +0100
committerIngo Molnar <mingo@elte.hu>2008-01-30 13:31:17 +0100
commit1e160cc3f3b5c38bba79c58172e82c1e24934546 (patch)
treedc4cbd9f812bc085904e7c59ce9652bedd574d70 /include/asm-x86/msr.h
parent341d8854d38fe6e7655f7748babae5c25a51aa70 (diff)
downloadblackbird-op-linux-1e160cc3f3b5c38bba79c58172e82c1e24934546.tar.gz
blackbird-op-linux-1e160cc3f3b5c38bba79c58172e82c1e24934546.zip
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>
Diffstat (limited to 'include/asm-x86/msr.h')
-rw-r--r--include/asm-x86/msr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/msr.h b/include/asm-x86/msr.h
index 040d3910d891..088652a62d58 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"
OpenPOWER on IntegriCloud