summaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorYork Sun <yorksun@freescale.com>2015-12-16 14:12:24 +0800
committerTom Rini <trini@konsulko.com>2015-12-16 07:11:15 -0500
commit2e680f92b888b4cb2fde2b0c77cbde22b48933f5 (patch)
tree07189cc75fc5b3b4b06e89671e3648cea603f7e9 /include/compiler.h
parente6e3faa5c2da591cd3e0f2047a74cfc832e7b738 (diff)
downloadu-boot-imx-2e680f92b888b4cb2fde2b0c77cbde22b48933f5.zip
u-boot-imx-2e680f92b888b4cb2fde2b0c77cbde22b48933f5.tar.gz
u-boot-imx-2e680f92b888b4cb2fde2b0c77cbde22b48933f5.tar.bz2
Revert "include/linux: move typdef for uintptr_t"
This reverts commit e8f954a756a825130d11b9c8fca70101dd8b3ac5, which causes compiling errors on 32-bit hosts. Acked-by: Aneesh Bansal <aneesh.bansal@freescale.com> Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h
index f853ed4..47c296e 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -115,6 +115,9 @@ typedef unsigned int uint;
#ifdef CONFIG_USE_STDINT
/* Provided by gcc. */
#include <stdint.h>
+#else
+/* Type for `void *' pointers. */
+typedef unsigned long int uintptr_t;
#endif
#include <linux/string.h>