diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-12-10 23:27:21 -0500 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-12-15 17:13:39 -0500 |
commit | 376a5fb34b04524af501a0c5979c5920be940e05 (patch) | |
tree | 772261c7bb4c97a8f8fbe8f5b5e032ac324a3334 | |
parent | 05de97003c773e7881e4df3f767b81a6508107f2 (diff) |
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>
-rw-r--r-- | tools/include/linux/types.h | 4 |
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; | |||
42 | #else | 42 | #else |
43 | #define __bitwise__ | 43 | #define __bitwise__ |
44 | #endif | 44 | #endif |
45 | #ifdef __CHECK_ENDIAN__ | ||
46 | #define __bitwise __bitwise__ | 45 | #define __bitwise __bitwise__ |
47 | #else | ||
48 | #define __bitwise | ||
49 | #endif | ||
50 | 46 | ||
51 | #define __force | 47 | #define __force |
52 | #define __user | 48 | #define __user |