Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a697e051 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/mm: use correct unlock function in gmap_ipte_notify



The page table lock is acquired with a call to get_locked_pte,
replace the plain spin_unlock with the correct unlock function
pte_unmap_unlock.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 5b9f2081
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -762,7 +762,7 @@ int gmap_ipte_notify(struct gmap *gmap, unsigned long gaddr, unsigned long len)
			gaddr += PAGE_SIZE;
			gaddr += PAGE_SIZE;
			len -= PAGE_SIZE;
			len -= PAGE_SIZE;
		}
		}
		spin_unlock(ptl);
		pte_unmap_unlock(ptep, ptl);
	}
	}
	up_read(&gmap->mm->mmap_sem);
	up_read(&gmap->mm->mmap_sem);
	return rc;
	return rc;