diff options
| author | Juergen Gross <jgross@suse.com> | 2026-08-05 10:21:36 +0200 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-08-06 13:18:32 +0200 |
| commit | 4d3d4ee612e22f396744b433ad901e986cb60bcf (patch) | |
| tree | 552511b20b8cfef60fc57641cdac77e578a0a481 /include | |
| parent | 0d91b71af94734a10f1dcc0ae317923f84ca43ee (diff) | |
| download | linux-4d3d4ee612e22f396744b433ad901e986cb60bcf.tar.gz linux-4d3d4ee612e22f396744b433ad901e986cb60bcf.zip | |
xen: Drop CONFIG_XEN_AUTO_XLATE
CONFIG_XEN_AUTO_XLATE is referenced only in code built with CONFIG_XEN
enabled. As it is enabled for all architectures supporting Xen, it can
be just dropped.
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260805082137.1214967-4-jgross@suse.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/xen/xen-ops.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/xen/xen-ops.h b/include/xen/xen-ops.h index 496e6013c689..15e0c3f4b7bb 100644 --- a/include/xen/xen-ops.h +++ b/include/xen/xen-ops.h @@ -59,7 +59,6 @@ static inline int xen_remap_pfn(struct vm_area_struct *vma, unsigned long addr, struct vm_area_struct; -#ifdef CONFIG_XEN_AUTO_XLATE int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, unsigned long addr, xen_pfn_t *gfn, int nr, @@ -68,27 +67,6 @@ int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, struct page **pages); int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, int nr, struct page **pages); -#else -/* - * These two functions are called from arch/x86/xen/mmu.c and so stubs - * are needed for a configuration not specifying CONFIG_XEN_AUTO_XLATE. - */ -static inline int xen_xlate_remap_gfn_array(struct vm_area_struct *vma, - unsigned long addr, - xen_pfn_t *gfn, int nr, - int *err_ptr, pgprot_t prot, - unsigned int domid, - struct page **pages) -{ - return -EOPNOTSUPP; -} - -static inline int xen_xlate_unmap_gfn_range(struct vm_area_struct *vma, - int nr, struct page **pages) -{ - return -EOPNOTSUPP; -} -#endif int xen_remap_vma_range(struct vm_area_struct *vma, unsigned long addr, unsigned long len); |
