tools: enable endian checks for all sparse builds
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Dec 2016 04:27:21 +0000 (06:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:13:39 +0000 (00:13 +0200)
We dropped need for __CHECK_ENDIAN__ for linux,
this mirrors this for tools.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/include/linux/types.h

index 8ebf6278b2ef23d7cd45daf7b5f6f14bde675aa2..c24b3e3ae29691d404ad36bc56bdea3497ea0de7 100644 (file)
@@ -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