From: Aneesh Kumar K.V Date: Mon, 10 Sep 2012 02:52:47 +0000 (+0000) Subject: powerpc/mm: Replace open coded CONTEXT_BITS value X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f03839236392f5bc6107af5c9f749e8a48cd616c;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git powerpc/mm: Replace open coded CONTEXT_BITS value To clarify the meaning for future readers, replace the open coded 19 with CONTEXT_BITS Reviewed-by: Paul Mackerras Signed-off-by: Aneesh Kumar K.V Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/mm/mmu_context_hash64.c b/arch/powerpc/mm/mmu_context_hash64.c index 40677aa0190e..daa076c9025c 100644 --- a/arch/powerpc/mm/mmu_context_hash64.c +++ b/arch/powerpc/mm/mmu_context_hash64.c @@ -34,7 +34,7 @@ static DEFINE_IDA(mmu_context_ida); * Each segment contains 2^28 bytes. Each context maps 2^44 bytes, * so we can support 2^19-1 contexts (19 == 35 + 28 - 44). */ -#define MAX_CONTEXT ((1UL << 19) - 1) +#define MAX_CONTEXT ((1UL << CONTEXT_BITS) - 1) int __init_new_context(void) {