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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2018 08:28:55 +0000 (10:28 +0200)
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>
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