Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1e160cc3 authored by Andrew Morton's avatar Andrew Morton Committed by Ingo Molnar
Browse files

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: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 341d8854
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -13,7 +13,7 @@
#include <asm/asm.h>
#include <asm/asm.h>
#include <asm/errno.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;
	unsigned long low, high;
	asm volatile (".byte 0x0f,0x01,0xf9"
	asm volatile (".byte 0x0f,0x01,0xf9"