Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sizes.h: add SZ_8G/SZ_16G/SZ_32G macros

Add these macros, since we can use them in drivers.

Link: https://lkml.kernel.org/r/20201229072819.11183-1-sjhuang@iluvatar.ai
Signed-off-by: Huang Shijie <sjhuang@iluvatar.ai>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Huang Shijie and committed by
Linus Torvalds
8b0fac44 87dbc209

+3
+3
include/linux/sizes.h
··· 44 44 #define SZ_2G 0x80000000 45 45 46 46 #define SZ_4G _AC(0x100000000, ULL) 47 + #define SZ_8G _AC(0x200000000, ULL) 48 + #define SZ_16G _AC(0x400000000, ULL) 49 + #define SZ_32G _AC(0x800000000, ULL) 47 50 #define SZ_64T _AC(0x400000000000, ULL) 48 51 49 52 #endif /* __LINUX_SIZES_H__ */