diff options
author | Christophe Leroy | 2018-05-16 08:58:57 +0200 |
---|---|---|
committer | Michael Ellerman | 2018-05-17 16:09:03 +0200 |
commit | 5279821a6f5ff75d7dce632e49b9fbca5a2b98da (patch) | |
tree | 90e38cb0d2f5ad84e8ae5aef2a9feb1f3c49d15c /arch/powerpc/include/asm/pte-common.h | |
parent | powerpc/embedded6xx/hlwd-pic: Prevent interrupts from being handled by Starlet (diff) | |
download | kernel-qcow2-linux-5279821a6f5ff75d7dce632e49b9fbca5a2b98da.tar.gz kernel-qcow2-linux-5279821a6f5ff75d7dce632e49b9fbca5a2b98da.tar.xz kernel-qcow2-linux-5279821a6f5ff75d7dce632e49b9fbca5a2b98da.zip |
powerpc: get rid of PMD_PAGE_SIZE() and _PMD_SIZE
PMD_PAGE_SIZE() is nowhere used and _PMD_SIZE is only
used by PMD_PAGE_SIZE().
This patch removes them.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
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 | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/include/asm/pte-common.h b/arch/powerpc/include/asm/pte-common.h index c4a72c7a8c83..050b0d775324 100644 --- a/arch/powerpc/include/asm/pte-common.h +++ b/arch/powerpc/include/asm/pte-common.h @@ -60,10 +60,6 @@ #ifndef _PMD_PRESENT_MASK #define _PMD_PRESENT_MASK _PMD_PRESENT #endif -#ifndef _PMD_SIZE -#define _PMD_SIZE 0 -#define PMD_PAGE_SIZE(pmd) bad_call_to_PMD_PAGE_SIZE() -#endif #ifndef _PMD_USER #define _PMD_USER 0 #endif @@ -88,11 +84,7 @@ #define _PTE_NONE_MASK _PAGE_HPTEFLAGS #endif -/* Make sure we get a link error if PMD_PAGE_SIZE is ever called on a - * kernel without large page PMD support - */ #ifndef __ASSEMBLY__ -extern unsigned long bad_call_to_PMD_PAGE_SIZE(void); /* * Don't just check for any non zero bits in __PAGE_USER, since for book3e |