aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-17 22:30:19 +0900
committerTom Rini <trini@konsulko.com>2017-11-17 07:44:13 -0500
commit1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d (patch)
treed2dc263e640313d2fb438b1c288b522b895b9d1b /include/linux
parentb38ad663a4b4ccd91a43b12e2d65179dbd2b40cb (diff)
downloadu-boot-1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d.zip
u-boot-1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d.tar.gz
u-boot-1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d.tar.bz2
linux/types.h: add typedef of uintptr_t
Add this typedef in the same place as in Linux. This is necessary to refactor libfdt inclusion. U-Boot also defines it in include/compiler.h. Of course it should not do that, but I do not want to open a can of worms. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index 416fa66..7c33e7a 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -24,6 +24,8 @@ typedef __kernel_gid32_t gid_t;
typedef __kernel_uid16_t uid16_t;
typedef __kernel_gid16_t gid16_t;
+typedef unsigned long uintptr_t;
+
#ifdef CONFIG_UID16
/* This is defined by include/asm-{arch}/posix_types.h */
typedef __kernel_old_uid_t old_uid_t;