diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2018-05-17 13:58:17 -0700 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-05-18 08:11:16 +0200 |
commit | d530982d743997926bd77fb06f35f57e91242acb (patch) | |
tree | 1b325bf44e774d8d51e00472b089e6c627c4b45d /include | |
parent | 241dab80b8017e3cde76cdb1154820d8f0943573 (diff) | |
download | barebox-d530982d743997926bd77fb06f35f57e91242acb.tar.gz barebox-d530982d743997926bd77fb06f35f57e91242acb.tar.xz |
sizes.h: Sync with Linux 4.16
Sync with Linux 4.16 to get SZ_4G.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/sizes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/sizes.h b/include/linux/sizes.h index ce3e8150c1..fbde0bc7e8 100644 --- a/include/linux/sizes.h +++ b/include/linux/sizes.h @@ -8,6 +8,8 @@ #ifndef __LINUX_SIZES_H__ #define __LINUX_SIZES_H__ +#include <linux/const.h> + #define SZ_1 0x00000001 #define SZ_2 0x00000002 #define SZ_4 0x00000004 @@ -44,4 +46,6 @@ #define SZ_1G 0x40000000 #define SZ_2G 0x80000000 +#define SZ_4G _AC(0x100000000, ULL) + #endif /* __LINUX_SIZES_H__ */ |