diff options
Diffstat (limited to 'backport/backport-include/linux/kernel.h')
-rw-r--r-- | backport/backport-include/linux/kernel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h index e695842b..933686f8 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) |