Commit 1c4b453ad2a62d0243ae5fd6657f2d6b7eb7332d

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent b38ad663a4

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

include/linux/types.h
... ... @@ -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;