Skip to content

Commit 0547e0b

Browse files
Alexander GordeevVasily Gorbik
authored andcommitted
s390/mm: add missing conversion to use ptdescs
Commit 6326c26 ("s390: convert various pgalloc functions to use ptdescs") missed to convert tlb_remove_table() into tlb_remove_ptdesc() in few locations. Reviewed-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]> Signed-off-by: Vasily Gorbik <[email protected]>
1 parent e392ea4 commit 0547e0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

arch/s390/include/asm/tlb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ static inline void p4d_free_tlb(struct mmu_gather *tlb, p4d_t *p4d,
112112
__tlb_adjust_range(tlb, address, PAGE_SIZE);
113113
tlb->mm->context.flush_mm = 1;
114114
tlb->freed_tables = 1;
115-
tlb_remove_table(tlb, p4d);
115+
tlb_remove_ptdesc(tlb, p4d);
116116
}
117117

118118
/*
@@ -130,7 +130,7 @@ static inline void pud_free_tlb(struct mmu_gather *tlb, pud_t *pud,
130130
tlb->mm->context.flush_mm = 1;
131131
tlb->freed_tables = 1;
132132
tlb->cleared_p4ds = 1;
133-
tlb_remove_table(tlb, pud);
133+
tlb_remove_ptdesc(tlb, pud);
134134
}
135135

136136

arch/s390/mm/pgalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ void page_table_free_rcu(struct mmu_gather *tlb, unsigned long *table,
412412
}
413413
spin_unlock_bh(&mm->context.lock);
414414
table = (unsigned long *) ((unsigned long) table | (0x01U << bit));
415-
tlb_remove_table(tlb, table);
415+
tlb_remove_ptdesc(tlb, table);
416416
}
417417

418418
void __tlb_remove_table(void *_table)

0 commit comments

Comments
 (0)