summaryrefslogtreecommitdiff
path: root/tools/include/vdso
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2020-04-14 14:52:23 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2020-04-14 14:55:03 +0300
commitca64d84e93762f4e587e040a44ad9f6089afc777 (patch)
tree2a46e8791a8d859514cdb03f3b50cbf6a4c10d15 /tools/include/vdso
parent8358f698ec9d8467ad00c045e4d83c3e4acc7db4 (diff)
downloadlinux-ca64d84e93762f4e587e040a44ad9f6089afc777.tar.xz
tools headers: Update linux/vdso.h and grab a copy of vdso/const.h
To get in line with: 8165b57bca21 ("linux/const.h: Extract common header for vDSO") And silence this tools/perf/ build warning: Warning: Kernel ABI header at 'tools/include/linux/const.h' differs from latest version at 'include/linux/const.h' diff -u tools/include/linux/const.h include/linux/const.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include/vdso')
-rw-r--r--tools/include/vdso/const.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/include/vdso/const.h b/tools/include/vdso/const.h
new file mode 100644
index 000000000000..94b385ad438d
--- /dev/null
+++ b/tools/include/vdso/const.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __VDSO_CONST_H
+#define __VDSO_CONST_H
+
+#include <uapi/linux/const.h>
+
+#define UL(x) (_UL(x))
+#define ULL(x) (_ULL(x))
+
+#endif /* __VDSO_CONST_H */