浏览代码

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>
Michael S. Tsirkin 9 年之前
父节点
当前提交
376a5fb34b
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      tools/include/linux/types.h

+ 0 - 4
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