aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/mmu_context_64.h
diff options
context:
space:
mode:
authorPavel Tatashin <pasha.tatashin@oracle.com>2017-05-31 11:25:25 -0400
committerDavid S. Miller <davem@davemloft.net>2017-06-06 13:45:29 -0700
commit0197e41ce70511dc3b71f7fefa1a676e2b5cd60b (patch)
tree575ba01f32418345f60b1b96718144e4b7c54fc3 /arch/sparc/include/asm/mmu_context_64.h
parentsparc64: new context wrap (diff)
downloadlinux-dev-0197e41ce70511dc3b71f7fefa1a676e2b5cd60b.tar.xz
linux-dev-0197e41ce70511dc3b71f7fefa1a676e2b5cd60b.zip
sparc64: delete old wrap code
The old method that is using xcall and softint to get new context id is deleted, as it is replaced by a method of using per_cpu_secondary_mm without xcall to perform the context wrap. Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com> Reviewed-by: Bob Picco <bob.picco@oracle.com> Reviewed-by: Steven Sistare <steven.sistare@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/mmu_context_64.h')
-rw-r--r--arch/sparc/include/asm/mmu_context_64.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/mmu_context_64.h b/arch/sparc/include/asm/mmu_context_64.h
index edb45247bfa9..2cddcda4f85f 100644
--- a/arch/sparc/include/asm/mmu_context_64.h
+++ b/arch/sparc/include/asm/mmu_context_64.h
@@ -21,12 +21,6 @@ extern unsigned long mmu_context_bmap[];
DECLARE_PER_CPU(struct mm_struct *, per_cpu_secondary_mm);
void get_new_mmu_context(struct mm_struct *mm);
-#ifdef CONFIG_SMP
-void smp_new_mmu_context_version(void);
-#else
-#define smp_new_mmu_context_version() do { } while (0)
-#endif
-
int init_new_context(struct task_struct *tsk, struct mm_struct *mm);
void destroy_context(struct mm_struct *mm);