Skip to content

Commit

Permalink
s390-supplement-for-ptdesc-conversion-v2
Browse files Browse the repository at this point in the history
fix build failure

Link: https://lkml.kernel.org/r/20240305072154.26168-1-zhengqi.arch@bytedance.com
Signed-off-by: Qi Zheng <zhengqi.arch@bytedance.com>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Janosch Frank <frankja@linux.ibm.com>
Cc: Claudio Imbrenda <imbrenda@linux.ibm.com>
Cc: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
  • Loading branch information
Qi Zheng authored and akpm00 committed Mar 5, 2024
1 parent 08b4cfd commit 79c09c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/s390/mm/gmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,10 +206,10 @@ static void gmap_free(struct gmap *gmap)

/* Free additional data for a shadow gmap */
if (gmap_is_shadow(gmap)) {
struct ptdesc *ptdesc;
struct ptdesc *ptdesc, *n;

/* Free all page tables. */
list_for_each_entry_safe(ptdesc, next, &gmap->pt_list, pt_list)
list_for_each_entry_safe(ptdesc, n, &gmap->pt_list, pt_list)
page_table_free_pgste(ptdesc);
gmap_rmap_radix_tree_free(&gmap->host_to_rmap);
/* Release reference to the parent */
Expand Down

0 comments on commit 79c09c7

Please sign in to comment.