summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/gmap.h
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2016-03-08 10:52:54 (GMT)
committerChristian Borntraeger <borntraeger@de.ibm.com>2016-06-20 07:46:48 (GMT)
commit414d3b07496604a4372466a6b474ca24291a143c (patch)
tree2d3a2610ec945377f27fc2b72744ac8511e1709d /arch/s390/include/asm/gmap.h
parent64672c95ea4c2f7096e519e826076867e8ef0938 (diff)
downloadlinux-414d3b07496604a4372466a6b474ca24291a143c.tar.xz
s390/kvm: page table invalidation notifier
Pass an address range to the page table invalidation notifier for KVM. This allows to notify changes that affect a larger virtual memory area, e.g. for 1MB pages. 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>
Diffstat (limited to 'arch/s390/include/asm/gmap.h')
-rw-r--r--arch/s390/include/asm/gmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/include/asm/gmap.h b/arch/s390/include/asm/gmap.h
index d054c1b..bc0eadf 100644
--- a/arch/s390/include/asm/gmap.h
+++ b/arch/s390/include/asm/gmap.h
@@ -39,7 +39,8 @@ struct gmap {
*/
struct gmap_notifier {
struct list_head list;
- void (*notifier_call)(struct gmap *gmap, unsigned long gaddr);
+ void (*notifier_call)(struct gmap *gmap, unsigned long start,
+ unsigned long end);
};
struct gmap *gmap_alloc(struct mm_struct *mm, unsigned long limit);