summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/slb.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2016-03-16 21:56:20 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-04-11 20:30:40 +1000
commit1f4c66e80574e85aff25179fc71bdadfb1a701ef (patch)
treef94ea5c1517381c5bb65f987fd26c40d8aa77898 /arch/powerpc/mm/slb.c
parentf8a25db47ebc11fe228735d916e480d4b2ebe611 (diff)
downloadlinux-1f4c66e80574e85aff25179fc71bdadfb1a701ef.tar.bz2
powerpc/mm: Remove long disabled SLB code
We have a bunch of SLB related code in the tree which is there to handle dynamic VSIDs - but currently it's all disabled at compile time. The comments say "Keep that around for when we re-implement dynamic VSIDs". But that was over 10 years ago (commit 3c726f8dee6f ("[PATCH] ppc64: support 64k pages")). The chance that it would still work unchanged is minimal, and in the meantime it's confusing to folks browsing/grepping the code. If we ever want to re-instate it, it's in the git history. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Acked-by: Balbir Singh <bsingharora@gmail.com>
Diffstat (limited to 'arch/powerpc/mm/slb.c')
-rw-r--r--arch/powerpc/mm/slb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/mm/slb.c b/arch/powerpc/mm/slb.c
index 825b6873391f..48fc28bab544 100644
--- a/arch/powerpc/mm/slb.c
+++ b/arch/powerpc/mm/slb.c
@@ -32,7 +32,6 @@ enum slb_index {
};
extern void slb_allocate_realmode(unsigned long ea);
-extern void slb_allocate_user(unsigned long ea);
static void slb_allocate(unsigned long ea)
{