diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2015-06-16 22:43:40 -0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-06-19 03:10:28 -0400 |
commit | 02505cebc1db06707d31635e9c9b342d58f887b7 (patch) | |
tree | fdfdf3610e2b9852da649479601d20a1417d37ee /arch/powerpc/include/asm/pte-common.h | |
parent | b4b56f9ecab40f3b4ef53e130c9f6663be491894 (diff) |
powerpc/mm: PTE_RPN_MAX is not used, remove the same
Remove the unused #define
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pte-common.h')
-rw-r--r-- | arch/powerpc/include/asm/pte-common.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/pte-common.h b/arch/powerpc/include/asm/pte-common.h index c5a755ef7011..b7c8d079c121 100644 --- a/arch/powerpc/include/asm/pte-common.h +++ b/arch/powerpc/include/asm/pte-common.h | |||
@@ -85,10 +85,8 @@ extern unsigned long bad_call_to_PMD_PAGE_SIZE(void); | |||
85 | * 64-bit PTEs | 85 | * 64-bit PTEs |
86 | */ | 86 | */ |
87 | #if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT) | 87 | #if defined(CONFIG_PPC32) && defined(CONFIG_PTE_64BIT) |
88 | #define PTE_RPN_MAX (1ULL << (64 - PTE_RPN_SHIFT)) | ||
89 | #define PTE_RPN_MASK (~((1ULL<<PTE_RPN_SHIFT)-1)) | 88 | #define PTE_RPN_MASK (~((1ULL<<PTE_RPN_SHIFT)-1)) |
90 | #else | 89 | #else |
91 | #define PTE_RPN_MAX (1UL << (32 - PTE_RPN_SHIFT)) | ||
92 | #define PTE_RPN_MASK (~((1UL<<PTE_RPN_SHIFT)-1)) | 90 | #define PTE_RPN_MASK (~((1UL<<PTE_RPN_SHIFT)-1)) |
93 | #endif | 91 | #endif |
94 | 92 | ||