]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
xen: remove the exports for xen_{create,destroy}_contiguous_region
authorChristoph Hellwig <hch@lst.de>
Wed, 24 Jul 2019 14:01:28 +0000 (16:01 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 11 Sep 2019 10:43:26 +0000 (12:43 +0200)
These routines are only used by swiotlb-xen, which cannot be modular.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/mm.c
arch/x86/xen/mmu_pv.c

index 11d5ad26fcfe75e060119cd2e6d55f69ca6e0bf0..9d73fa4a5991942437b28f3205568a7a94b69515 100644 (file)
@@ -154,13 +154,11 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
        *dma_handle = pstart;
        return 0;
 }
-EXPORT_SYMBOL_GPL(xen_create_contiguous_region);
 
 void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
 {
        return;
 }
-EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region);
 
 int __init xen_mm_init(void)
 {
index 26e8b326966dff88a59d03ae26da296aa594ad93..c8dbee62ec2ab1ab11ce668388cb9d86f56c94af 100644 (file)
@@ -2625,7 +2625,6 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
        *dma_handle = virt_to_machine(vstart).maddr;
        return success ? 0 : -ENOMEM;
 }
-EXPORT_SYMBOL_GPL(xen_create_contiguous_region);
 
 void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
 {
@@ -2660,7 +2659,6 @@ void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
 
        spin_unlock_irqrestore(&xen_reservation_lock, flags);
 }
-EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region);
 
 static noinline void xen_flush_tlb_all(void)
 {