summaryrefslogtreecommitdiffstats
path: root/arch/sparc/mm/init_32.c
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2012-07-26 13:02:24 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-27 01:46:16 +0200
commitb585e8551b352cee95cf060b7eddc76d16e6120a (patch)
tree92f5346a503111037a5cbb80b0892b7a04fd97c6 /arch/sparc/mm/init_32.c
parentsparc32: drop quicklist (diff)
downloadlinux-b585e8551b352cee95cf060b7eddc76d16e6120a.tar.xz
linux-b585e8551b352cee95cf060b7eddc76d16e6120a.zip
sparc32: centralize all mmu context handling in srmmu.c
Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/mm/init_32.c')
-rw-r--r--arch/sparc/mm/init_32.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/sparc/mm/init_32.c b/arch/sparc/mm/init_32.c
index 6d44c2b80d66..020d2afa0030 100644
--- a/arch/sparc/mm/init_32.c
+++ b/arch/sparc/mm/init_32.c
@@ -82,24 +82,6 @@ void show_mem(unsigned int filter)
#endif
}
-void __init sparc_context_init(int numctx)
-{
- int ctx;
-
- ctx_list_pool = __alloc_bootmem(numctx * sizeof(struct ctx_list), SMP_CACHE_BYTES, 0UL);
-
- for(ctx = 0; ctx < numctx; ctx++) {
- struct ctx_list *clist;
-
- clist = (ctx_list_pool + ctx);
- clist->ctx_number = ctx;
- clist->ctx_mm = NULL;
- }
- ctx_free.next = ctx_free.prev = &ctx_free;
- ctx_used.next = ctx_used.prev = &ctx_used;
- for(ctx = 0; ctx < numctx; ctx++)
- add_to_free_ctxlist(ctx_list_pool + ctx);
-}
extern unsigned long cmdline_memory_size;
unsigned long last_valid_pfn;