aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/book3s/32/pgalloc.h
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-04-26 15:57:59 +0000
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-03 01:20:24 +1000
commit447def3b06adab60b999417b316bd2352d7e643e (patch)
treef862cdadb9fb3b489fdaf2e4901df4bd0b13fde0 /arch/powerpc/include/asm/book3s/32/pgalloc.h
parentpowerpc/mm: flatten function __find_linux_pte() step 3 (diff)
downloadlinux-dev-447def3b06adab60b999417b316bd2352d7e643e.tar.xz
linux-dev-447def3b06adab60b999417b316bd2352d7e643e.zip
powerpc/mm: drop __bad_pte()
This has never been called (since Kernel has been in git at least), drop it. Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> 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/book3s/32/pgalloc.h')
-rw-r--r--arch/powerpc/include/asm/book3s/32/pgalloc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/book3s/32/pgalloc.h b/arch/powerpc/include/asm/book3s/32/pgalloc.h
index 3633502e102c..645af86cd072 100644
--- a/arch/powerpc/include/asm/book3s/32/pgalloc.h
+++ b/arch/powerpc/include/asm/book3s/32/pgalloc.h
@@ -22,8 +22,6 @@
*/
#define MAX_PGTABLE_INDEX_SIZE 0xf
-extern void __bad_pte(pmd_t *pmd);
-
extern struct kmem_cache *pgtable_cache[];
#define PGT_CACHE(shift) pgtable_cache[shift]