diff options
author | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-07-15 07:43:32 +0300 |
---|---|---|
committer | Alexander Gordeev <agordeev@linux.ibm.com> | 2022-07-20 18:17:13 +0300 |
commit | 7190d84966b34de3892cd4eb8698a2229ceb8d82 (patch) | |
tree | 4fa8189e057ad7c9ae207750a039d36fce1f4512 /arch/s390/include/asm/mmu.h | |
parent | af2debd58bd769e38f538143f0d332e15d753396 (diff) | |
download | linux-7190d84966b34de3892cd4eb8698a2229ceb8d82.tar.xz |
s390/mm: remove unused tprot() function
Since commit 461e0da7ddbb ("s390: remove broken hibernate / power
management support") there are no users of tprot() left. Remove
the function itself as well.
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/mmu.h')
-rw-r--r-- | arch/s390/include/asm/mmu.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/s390/include/asm/mmu.h b/arch/s390/include/asm/mmu.h index 82aae78e1315..bc254bce48fa 100644 --- a/arch/s390/include/asm/mmu.h +++ b/arch/s390/include/asm/mmu.h @@ -42,18 +42,4 @@ typedef struct { .context.pgtable_list = LIST_HEAD_INIT(name.context.pgtable_list), \ .context.gmap_list = LIST_HEAD_INIT(name.context.gmap_list), -static inline int tprot(unsigned long addr) -{ - int rc = -EFAULT; - - asm volatile( - " tprot 0(%1),0\n" - "0: ipm %0\n" - " srl %0,28\n" - "1:\n" - EX_TABLE(0b,1b) - : "+d" (rc) : "a" (addr) : "cc"); - return rc; -} - #endif |