diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-04-12 10:01:41 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-04-15 11:32:46 +0200 |
commit | cd4689f3d34d36b1531d3d82a700523f1b931917 (patch) | |
tree | 8b118340258cf521f4a84218385ee84676fc7d42 /backport/backport-include/linux/kernel.h | |
parent | 907f7cef17f50ca086eef1c0e503ecbb44c345d9 (diff) |
backports: dissolve compat-3.5.h
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/backport-include/linux/kernel.h')
-rw-r--r-- | backport/backport-include/linux/kernel.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h index 499f5387..01aaa916 100644 --- a/backport/backport-include/linux/kernel.h +++ b/backport/backport-include/linux/kernel.h @@ -14,4 +14,16 @@ extern int strict_strtoul(const char *, unsigned int, unsigned long *); extern int strict_strtol(const char *, unsigned int, long *); #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)) */ +/* + * This backports: + * + * From a3860c1c5dd1137db23d7786d284939c5761d517 Mon Sep 17 00:00:00 2001 + * From: Xi Wang <xi.wang@gmail.com> + * Date: Thu, 31 May 2012 16:26:04 -0700 + * Subject: [PATCH] introduce SIZE_MAX + */ +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + #endif /* __BACKPORT_KERNEL_H */ |