aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/mmzone.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index fd55f725a09e..f6f2c505fa7e 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -981,7 +981,7 @@ struct mem_section {
981#endif 981#endif
982 982
983#define SECTION_NR_TO_ROOT(sec) ((sec) / SECTIONS_PER_ROOT) 983#define SECTION_NR_TO_ROOT(sec) ((sec) / SECTIONS_PER_ROOT)
984#define NR_SECTION_ROOTS (NR_MEM_SECTIONS / SECTIONS_PER_ROOT) 984#define NR_SECTION_ROOTS DIV_ROUND_UP(NR_MEM_SECTIONS, SECTIONS_PER_ROOT)
985#define SECTION_ROOT_MASK (SECTIONS_PER_ROOT - 1) 985#define SECTION_ROOT_MASK (SECTIONS_PER_ROOT - 1)
986 986
987#ifdef CONFIG_SPARSEMEM_EXTREME 987#ifdef CONFIG_SPARSEMEM_EXTREME