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

Commit 984e2a59 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/mm: add __releases()/__acquires() annotations to gmap_alloc_table()



Let sparse not incorrectly complain about unbalanced locking.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
parent 93bead43
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -246,6 +246,8 @@ EXPORT_SYMBOL_GPL(gmap_disable);
 */
static int gmap_alloc_table(struct gmap *gmap,
			    unsigned long *table, unsigned long init)
	__releases(&gmap->mm->page_table_lock)
	__acquires(&gmap->mm->page_table_lock)
{
	struct page *page;
	unsigned long *new;