From: Masahiro Yamada Date: Tue, 17 Oct 2017 13:30:19 +0000 (+0900) Subject: linux/types.h: add typedef of uintptr_t X-Git-Tag: v2018.01-rc1~113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d;p=u-boot 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 --- diff --git a/include/linux/types.h b/include/linux/types.h index 416fa66284..7c33e7adbc 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;