blob: e72c30c4305efa2308de58dfe6cfaa84ab01e116 [file] [log] [blame]
From 102fbeff751fd22195cc184926375bc7a54ab76f Mon Sep 17 00:00:00 2001
From: Arnaldo Carvalho de Melo <>
Date: Fri, 20 Sep 2019 14:56:47 -0300
Subject: [PATCH] tools arch x86 uapi: Synch asm/unistd.h with the kernel
commit 761830a03c5c99fc0a7142e16cf0811cb68bd7af upstream.
To pick up the change in:
45e29d119e99 ("x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long")
That doesn't trigger any changes in tooling and silences this perf build
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
diff -u tools/arch/x86/include/uapi/asm/unistd.h arch/x86/include/uapi/asm/unistd.h
Cc: Adrian Hunter <>
Cc: Andy Lutomirski <>
Cc: Jiri Olsa <>
Cc: Namhyung Kim <>
Cc: Thomas Gleixner <>
Signed-off-by: Arnaldo Carvalho de Melo <>
Signed-off-by: Paul Gortmaker <>
diff --git a/tools/arch/x86/include/uapi/asm/unistd.h b/tools/arch/x86/include/uapi/asm/unistd.h
index 30d7d04d72d6..196fdd02b8b1 100644
--- a/tools/arch/x86/include/uapi/asm/unistd.h
+++ b/tools/arch/x86/include/uapi/asm/unistd.h
@@ -3,7 +3,7 @@
#define _UAPI_ASM_X86_UNISTD_H
/* x32 syscall flag bit */
-#define __X32_SYSCALL_BIT 0x40000000
+#define __X32_SYSCALL_BIT 0x40000000UL
#ifndef __KERNEL__
# ifdef __i386__