summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-12-11 07:27:21 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-12-16 01:13:39 +0300
commit376a5fb34b04524af501a0c5979c5920be940e05 (patch)
tree772261c7bb4c97a8f8fbe8f5b5e032ac324a3334 /tools/include
parent05de97003c773e7881e4df3f767b81a6508107f2 (diff)
downloadlinux-376a5fb34b04524af501a0c5979c5920be940e05.tar.xz
tools: enable endian checks for all sparse builds
We dropped need for __CHECK_ENDIAN__ for linux, this mirrors this for tools. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/linux/types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
index 8ebf6278b2ef..c24b3e3ae296 100644
--- a/tools/include/linux/types.h
+++ b/tools/include/linux/types.h
@@ -42,11 +42,7 @@ typedef __s8 s8;
#else
#define __bitwise__
#endif
-#ifdef __CHECK_ENDIAN__
#define __bitwise __bitwise__
-#else
-#define __bitwise
-#endif
#define __force
#define __user