From aab75ba4f037ccc311e491872aa66ae620dcc653 Mon Sep 17 00:00:00 2001 From: Marcelo Roberto Jimenez Date: Mon, 24 May 2010 14:32:47 -0700 Subject: [PATCH] --- yaml --- r: 198265 b: refs/heads/master c: 0faa56389c793cda7f967117415717bbab24fe4e h: refs/heads/master i: 198263: 9262869525e1f9634a47c9732e97ee9e0efccd39 v: v3 --- [refs] | 2 +- trunk/include/linux/mmzone.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 083e7fdc5007..51c198eda0af 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff3d58c22b6827039983911d3460cf0c1657f8cc +refs/heads/master: 0faa56389c793cda7f967117415717bbab24fe4e diff --git a/trunk/include/linux/mmzone.h b/trunk/include/linux/mmzone.h index fd55f725a09e..f6f2c505fa7e 100644 --- a/trunk/include/linux/mmzone.h +++ b/trunk/include/linux/mmzone.h @@ -981,7 +981,7 @@ struct mem_section { #endif #define SECTION_NR_TO_ROOT(sec) ((sec) / SECTIONS_PER_ROOT) -#define NR_SECTION_ROOTS (NR_MEM_SECTIONS / SECTIONS_PER_ROOT) +#define NR_SECTION_ROOTS DIV_ROUND_UP(NR_MEM_SECTIONS, SECTIONS_PER_ROOT) #define SECTION_ROOT_MASK (SECTIONS_PER_ROOT - 1) #ifdef CONFIG_SPARSEMEM_EXTREME