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

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
...@@ -246,6 +246,8 @@ EXPORT_SYMBOL_GPL(gmap_disable); ...@@ -246,6 +246,8 @@ EXPORT_SYMBOL_GPL(gmap_disable);
*/ */
static int gmap_alloc_table(struct gmap *gmap, static int gmap_alloc_table(struct gmap *gmap,
unsigned long *table, unsigned long init) unsigned long *table, unsigned long init)
__releases(&gmap->mm->page_table_lock)
__acquires(&gmap->mm->page_table_lock)
{ {
struct page *page; struct page *page;
unsigned long *new; unsigned long *new;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment