summaryrefslogtreecommitdiffstats
path: root/include/linux/limits.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/limits.h')
-rw-r--r--include/linux/limits.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/limits.h b/include/linux/limits.h
index b568b9c30bbf..f6bcc9369010 100644
--- a/include/linux/limits.h
+++ b/include/linux/limits.h
@@ -7,6 +7,7 @@
#include <vdso/limits.h>
#define SIZE_MAX (~(size_t)0)
+#define SSIZE_MAX ((ssize_t)(SIZE_MAX >> 1))
#define PHYS_ADDR_MAX (~(phys_addr_t)0)
#define U8_MAX ((u8)~0U)