diff options
author | Pavel Tatashin <pasha.tatashin@oracle.com> | 2017-05-31 11:25:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-06 13:45:29 -0700 |
commit | 0197e41ce70511dc3b71f7fefa1a676e2b5cd60b (patch) | |
tree | 575ba01f32418345f60b1b96718144e4b7c54fc3 /arch/sparc/include | |
parent | a0582f26ec9dfd5360ea2f35dd9a1b026f8adda0 (diff) | |
download | linux-0197e41ce70511dc3b71f7fefa1a676e2b5cd60b.tar.gz linux-0197e41ce70511dc3b71f7fefa1a676e2b5cd60b.tar.bz2 linux-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')
-rw-r--r-- | arch/sparc/include/asm/mmu_context_64.h | 6 | ||||
-rw-r--r-- | arch/sparc/include/asm/pil.h | 1 |
2 files changed, 0 insertions, 7 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); diff --git a/arch/sparc/include/asm/pil.h b/arch/sparc/include/asm/pil.h index 266937030546..522b43db2ed3 100644 --- a/arch/sparc/include/asm/pil.h +++ b/arch/sparc/include/asm/pil.h @@ -20,7 +20,6 @@ #define PIL_SMP_CALL_FUNC 1 #define PIL_SMP_RECEIVE_SIGNAL 2 #define PIL_SMP_CAPTURE 3 -#define PIL_SMP_CTX_NEW_VERSION 4 #define PIL_DEVICE_IRQ 5 #define PIL_SMP_CALL_FUNC_SNGL 6 #define PIL_DEFERRED_PCR_WORK 7 |