[PATCH 2/8] tools: enable endian checks for all sparse builds

From: Michael S. Tsirkin
Date: Thu Dec 15 2016 - 00:15:28 EST


We dropped need for __CHECK_ENDIAN__ for linux,
this mirrors this for tools.

Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
---
tools/include/linux/types.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/tools/include/linux/types.h b/tools/include/linux/types.h
index 8ebf627..c24b3e3 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
--
MST