Skip to content

Commit e8d255e

Browse files
bjdooks-ctjgross1
authored andcommitted
xen: mm: include <xen/xen-ops.h> for missing declarations
Include <xen/xen-ops.h> for xen_{create,destroy}_contigous_region call declarations. Fixes the following sparse warnings: arch/arm/xen/mm.c:119:5: warning: symbol 'xen_create_contiguous_region' was not declared. Should it be static? arch/arm/xen/mm.c:131:6: warning: symbol 'xen_destroy_contiguous_region' was not declared. Should it be static? Signed-off-by: Ben Dooks (Codethink) <ben.dooks@codethink.co.uk> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Juergen Gross <jgross@suse.com>
1 parent 4dd5815 commit e8d255e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/xen/mm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#include <xen/interface/grant_table.h>
1616
#include <xen/interface/memory.h>
1717
#include <xen/page.h>
18+
#include <xen/xen-ops.h>
1819
#include <xen/swiotlb-xen.h>
1920

2021
#include <asm/cacheflush.h>

0 commit comments

Comments
 (0)