diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2023-05-12 13:33:38 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-09 17:44:13 -0700 |
commit | 3db55767da7427cebc49e22b25b5f50ff455add6 (patch) | |
tree | 6e9d6fc3f331105b9bed7d74a153647ff86fd61f /include/linux/types.h | |
parent | 9e627588bf91174d8903f5550dc4cffc5c348247 (diff) |
add intptr_t
Add signed intptr_t given that a) it is standard type and b) uintptr_t is
in tree.
Link: https://lkml.kernel.org/r/ed66b9e4-1fb7-45be-9bb9-d4bc291c691f@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/types.h')
-rw-r--r-- | include/linux/types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/types.h b/include/linux/types.h index 688fb943556a..7e5a1fb7cfa1 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -35,6 +35,7 @@ typedef __kernel_uid16_t uid16_t; typedef __kernel_gid16_t gid16_t; typedef unsigned long uintptr_t; +typedef long intptr_t; #ifdef CONFIG_HAVE_UID16 /* This is defined by include/asm-{arch}/posix_types.h */ |