summaryrefslogtreecommitdiff
path: root/tools/include
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-12-11 06:27:21 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-06-05 10:28:55 +0200
commit22210278dcc0042955036671625b5771b01e5dc3 (patch)
tree749c1246d0778013044a27145274336585150644 /tools/include
parent5828462fea805ed1c6666ab827cb9cdb88209990 (diff)
tools: enable endian checks for all sparse builds
commit 376a5fb34b04524af501a0c5979c5920be940e05 upstream. We dropped need for __CHECK_ENDIAN__ for linux, this mirrors this for tools. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
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