Commit
1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d
Exists in
smarc_8mq_lf_v2020.04
and in
18 other branches
8qm-imx_v2020.04_5.4.70_2.3.0, emb_lf_v2022.04, emb_lf_v2023.04, pitx_8mp_lf_v2020.04, smarc-8m-android-10.0.0_2.6.0, smarc-8m-android-11.0.0_2.0.0, smarc-8mp-android-11.0.0_2.0.0, smarc-imx6_v2018.03_4.14.98_2.0.0_ga, smarc-imx7_v2018.03_4.14.98_2.0.0_ga, smarc-imx_v2018.03_4.14.78_1.0.0_ga, smarc_8m-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8m-imx_v2019.04_4.19.35_1.1.0, smarc_8m_00d0-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2018.03_4.14.98_2.0.0_ga, smarc_8mm-imx_v2019.04_4.19.35_1.1.0, smarc_8mm-imx_v2020.04_5.4.24_2.1.0, smarc_8mp_lf_v2020.04, smarc_8mq-imx_v2020.04_5.4.24_2.1.0
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>
Showing
1 changed file
with
2 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -24,6 +24,8 @@ |
24
|
24 |
typedef __kernel_uid16_t uid16_t; |
25
|
25 |
typedef __kernel_gid16_t gid16_t; |
26
|
26 |
|
|
27 |
+typedef unsigned long uintptr_t; |
|
28 |
+ |
27
|
29 |
#ifdef CONFIG_UID16 |
28
|
30 |
/* This is defined by include/asm-{arch}/posix_types.h */ |
29
|
31 |
typedef __kernel_old_uid_t old_uid_t; |