powerpc/mm: drop __bad_pte()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 26 Apr 2019 15:57:59 +0000 (15:57 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:20:24 +0000 (01:20 +1000)
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>
arch/powerpc/include/asm/book3s/32/pgalloc.h
arch/powerpc/include/asm/nohash/32/pgalloc.h

index 3633502e102cec215ba926cd14b1e73b9dd19a97..645af86cd072b56d53325bfaa0c8327af8b0fe27 100644 (file)
@@ -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]
 
index bd186e85b4f701cd01a57c22469d96193f9420c0..ea265a578eb0669626e2876e001cc09dbff27c1b 100644 (file)
@@ -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]