mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
This commit is contained in:
parent
341d8854d3
commit
1e160cc3f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue