aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/include/uapi/linux/types.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-05-11 12:00:50 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-11 12:00:50 -0700
commit0a5539f66133a02b24f9cc43da5b84b7e6f3f436 (patch)
tree99b5de954ed38e894ac8b754b246daaeab7964fc /tools/testing/selftests/bpf/include/uapi/linux/types.h
parentMerge branch 'bpf-pkt-ptr-align' (diff)
downloadlinux-dev-0a5539f66133a02b24f9cc43da5b84b7e6f3f436.tar.xz
linux-dev-0a5539f66133a02b24f9cc43da5b84b7e6f3f436.zip
bpf: Provide a linux/types.h override for bpf selftests.
We do not want to use the architecture's type.h header when building BPF programs which are always 64-bit. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--tools/testing/selftests/bpf/include/uapi/linux/types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/testing/selftests/bpf/include/uapi/linux/types.h b/tools/testing/selftests/bpf/include/uapi/linux/types.h
new file mode 100644
index 000000000000..fbd16a7554af
--- /dev/null
+++ b/tools/testing/selftests/bpf/include/uapi/linux/types.h
@@ -0,0 +1,6 @@
+#ifndef _UAPI_LINUX_TYPES_H
+#define _UAPI_LINUX_TYPES_H
+
+#include <asm-generic/int-ll64.h>
+
+#endif /* _UAPI_LINUX_TYPES_H */