xen: remove the exports for xen_{create,destroy}_contiguous_region
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>
This commit is contained in:
parent
0e0d26e779
commit
7b7a5776ec
|
@ -154,13 +154,11 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
|
||||||
*dma_handle = pstart;
|
*dma_handle = pstart;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xen_create_contiguous_region);
|
|
||||||
|
|
||||||
void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
|
void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region);
|
|
||||||
|
|
||||||
int __init xen_mm_init(void)
|
int __init xen_mm_init(void)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2625,7 +2625,6 @@ int xen_create_contiguous_region(phys_addr_t pstart, unsigned int order,
|
||||||
*dma_handle = virt_to_machine(vstart).maddr;
|
*dma_handle = virt_to_machine(vstart).maddr;
|
||||||
return success ? 0 : -ENOMEM;
|
return success ? 0 : -ENOMEM;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xen_create_contiguous_region);
|
|
||||||
|
|
||||||
void xen_destroy_contiguous_region(phys_addr_t pstart, unsigned int order)
|
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);
|
spin_unlock_irqrestore(&xen_reservation_lock, flags);
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(xen_destroy_contiguous_region);
|
|
||||||
|
|
||||||
static noinline void xen_flush_tlb_all(void)
|
static noinline void xen_flush_tlb_all(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue