diff options
author | Srikanth Boddepalli <boddepalli.srikanth@gmail.com> | 2018-11-27 09:23:27 -0500 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2018-11-29 11:53:27 -0500 |
commit | 72791ac854fea36034fa7976b748fde585008e78 (patch) | |
tree | addf1508584fe4985fb5341a1dd520dfc5b85a3e | |
parent | a7b403104e17209ea71eea59d4a71bf9e0d8cb83 (diff) |
xen: xlate_mmu: add missing header to fix 'W=1' warning
Add a missing header otherwise compiler warns about missed prototype:
drivers/xen/xlate_mmu.c:183:5: warning: no previous prototype for 'xen_xlate_unmap_gfn_range?' [-Wmissing-prototypes]
int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma,
^~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Srikanth Boddepalli <boddepalli.srikanth@gmail.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Joey Pabalinas <joeypabalinas@gmail.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
-rw-r--r-- | drivers/xen/xlate_mmu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/xen/xlate_mmu.c b/drivers/xen/xlate_mmu.c index 23f1387b3ef7..e7df65d32c91 100644 --- a/drivers/xen/xlate_mmu.c +++ b/drivers/xen/xlate_mmu.c | |||
@@ -36,6 +36,7 @@ | |||
36 | #include <asm/xen/hypervisor.h> | 36 | #include <asm/xen/hypervisor.h> |
37 | 37 | ||
38 | #include <xen/xen.h> | 38 | #include <xen/xen.h> |
39 | #include <xen/xen-ops.h> | ||
39 | #include <xen/page.h> | 40 | #include <xen/page.h> |
40 | #include <xen/interface/xen.h> | 41 | #include <xen/interface/xen.h> |
41 | #include <xen/interface/memory.h> | 42 | #include <xen/interface/memory.h> |