This was added in: commit 89a0714106aac7309c7dfa0f004b39e1e89d2942 Author: Alex Elder <alex.elder@xxxxxxxxxx> Date: Thu Jan 23 15:54:00 2014 -0800 kernel.h: define u8, s8, u32, etc. limits Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- backport/backport-include/linux/kernel.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h index e695842..933686f 100644 --- a/backport/backport-include/linux/kernel.h +++ b/backport/backport-include/linux/kernel.h @@ -45,6 +45,10 @@ #define SHRT_MIN ((s16)(-SHRT_MAX - 1)) #endif +#ifndef U32_MAX +#define U32_MAX ((u32)~0U) +#endif + #ifndef __round_mask #define __round_mask(x, y) ((__typeof__(x))((y)-1)) #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html