aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/mmu_context.h
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2020-11-10 14:51:32 +0100
committerHeiko Carstens <hca@linux.ibm.com>2020-11-12 12:11:25 +0100
commitab177c5d00cda2655fd814356ea034aaf179cf05 (patch)
tree499056c8e5f8d6150c4e15b4748e81004dd86ce1 /arch/s390/include/asm/mmu_context.h
parents390/zcrypt/pkey: introduce zcrypt_wait_api_operational() function (diff)
downloadlinux-dev-ab177c5d00cda2655fd814356ea034aaf179cf05.tar.xz
linux-dev-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.h7
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);