s390/mm: add reference counter to gmap structure
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 8 Mar 2016 10:55:04 +0000 (11:55 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 20 Jun 2016 07:53:59 +0000 (09:53 +0200)
commit6ea427bbbd4078297bb1dbd6c5cb83f3f48aac46
tree7ed574fcca3cae5d6a50211d43c3d5ab21620d3a
parentb2d73b2a0ad1c758cb0c1acb01a911744b845942
s390/mm: add reference counter to gmap structure

Let's use a reference counter mechanism to control the lifetime of
gmap structures. This will be needed for further changes related to
gmap shadows.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/include/asm/gmap.h
arch/s390/kvm/kvm-s390.c
arch/s390/mm/gmap.c