diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2012-09-09 22:52:47 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-09-17 02:31:48 -0400 |
commit | f03839236392f5bc6107af5c9f749e8a48cd616c (patch) | |
tree | f1c9671fba4ac7347f8182cf4031c6ca3015b595 | |
parent | f3d3444572dbf01d36884f9b3fe69a611420ad37 (diff) |
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 <paulus@samba.org>
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/mm/mmu_context_hash64.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); | |||
34 | * Each segment contains 2^28 bytes. Each context maps 2^44 bytes, | 34 | * Each segment contains 2^28 bytes. Each context maps 2^44 bytes, |
35 | * so we can support 2^19-1 contexts (19 == 35 + 28 - 44). | 35 | * so we can support 2^19-1 contexts (19 == 35 + 28 - 44). |
36 | */ | 36 | */ |
37 | #define MAX_CONTEXT ((1UL << 19) - 1) | 37 | #define MAX_CONTEXT ((1UL << CONTEXT_BITS) - 1) |
38 | 38 | ||
39 | int __init_new_context(void) | 39 | int __init_new_context(void) |
40 | { | 40 | { |