aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-06 20:47:38 +0900
committerTom Rini <trini@konsulko.com>2018-09-10 20:48:16 -0400
commit9865543ae65d7c9a435eedfc6a0ba23efb291121 (patch)
tree30e56d39a99e2bd49237472f4545e249704764f2 /include/linux
parentde39dc71625d1a66cc611d1a85bf53545cba60a3 (diff)
downloadu-boot-9865543ae65d7c9a435eedfc6a0ba23efb291121.zip
u-boot-9865543ae65d7c9a435eedfc6a0ba23efb291121.tar.gz
u-boot-9865543ae65d7c9a435eedfc6a0ba23efb291121.tar.bz2
Remove CONFIG_USE_STDINT
You do not need to use the typedefs provided by compiler. Our compilers are either IPL32 or LP64. Hence, U-Boot can/should always use int-ll64.h typedefs like Linux kernel, whatever the typedefs the compiler internally uses. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/types.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 7c33e7a..1f3cd63 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -106,8 +106,7 @@ typedef __u8 uint8_t;
typedef __u16 uint16_t;
typedef __u32 uint32_t;
-#if defined(__GNUC__) && !defined(__STRICT_ANSI__) && \
- (!defined(CONFIG_USE_STDINT) || !defined(__INT64_TYPE__))
+#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
typedef __u64 uint64_t;
typedef __u64 u_int64_t;
typedef __s64 int64_t;
@@ -120,12 +119,6 @@ typedef __s64 int64_t;
#define aligned_be64 __be64 __aligned(8)
#define aligned_le64 __le64 __aligned(8)
-#if defined(CONFIG_USE_STDINT) && defined(__INT64_TYPE__)
-typedef __UINT64_TYPE__ uint64_t;
-typedef __UINT64_TYPE__ u_int64_t;
-typedef __INT64_TYPE__ int64_t;
-#endif
-
#ifdef __KERNEL__
typedef phys_addr_t resource_size_t;
#endif