diff options
author | Srikanth Boddepalli <boddepalli.srikanth@gmail.com> | 2018-11-27 19:53:27 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-17 21:55:11 +0100 |
commit | 26e081481506908e75a202ac91d15b484be7b27c (patch) | |
tree | 8f60e056a9fda98ba53d19ae7a27ca58de37df45 /drivers | |
parent | 0f1b4c748370a567c6d0ecc0a48a079a450861a0 (diff) | |
download | linux-stable-26e081481506908e75a202ac91d15b484be7b27c.tar.gz linux-stable-26e081481506908e75a202ac91d15b484be7b27c.tar.bz2 linux-stable-26e081481506908e75a202ac91d15b484be7b27c.zip |
xen: xlate_mmu: add missing header to fix 'W=1' warning
[ Upstream commit 72791ac854fea36034fa7976b748fde585008e78 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
-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 5063c5e796b7..84a1fab0dd6b 100644 --- a/drivers/xen/xlate_mmu.c +++ b/drivers/xen/xlate_mmu.c @@ -34,6 +34,7 @@ #include <asm/xen/hypervisor.h> #include <xen/xen.h> +#include <xen/xen-ops.h> #include <xen/page.h> #include <xen/interface/xen.h> #include <xen/interface/memory.h> |