diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2020-11-10 14:51:32 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2020-11-12 12:11:25 +0100 |
commit | ab177c5d00cda2655fd814356ea034aaf179cf05 (patch) | |
tree | 499056c8e5f8d6150c4e15b4748e81004dd86ce1 /arch/s390/include/asm/mmu_context.h | |
parent | 43cb5a7c61186cde6eba344c43489b9cf95c68f8 (diff) | |
download | lwn-ab177c5d00cda2655fd814356ea034aaf179cf05.tar.gz lwn-ab177c5d00cda2655fd814356ea034aaf179cf05.zip |
s390/mm: remove unused clear_user_asce()
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/mmu_context.h')
-rw-r--r-- | arch/s390/include/asm/mmu_context.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/s390/include/asm/mmu_context.h b/arch/s390/include/asm/mmu_context.h index c9f3d8a52756..cec19ae164eb 100644 --- a/arch/s390/include/asm/mmu_context.h +++ b/arch/s390/include/asm/mmu_context.h @@ -78,13 +78,6 @@ static inline void set_user_asce(struct mm_struct *mm) clear_cpu_flag(CIF_ASCE_PRIMARY); } -static inline void clear_user_asce(void) -{ - S390_lowcore.user_asce = S390_lowcore.kernel_asce; - __ctl_load(S390_lowcore.kernel_asce, 1, 1); - set_cpu_flag(CIF_ASCE_PRIMARY); -} - mm_segment_t enable_sacf_uaccess(void); void disable_sacf_uaccess(mm_segment_t old_fs); |