diff options
author | Christoph Hellwig <hch@lst.de> | 2021-03-01 08:44:32 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2021-03-17 00:40:54 +0000 |
commit | a98f565462f0fca9096e8f53933364dc2a74bc90 (patch) | |
tree | 37f967e3abfc986e7af93bcd091c83261a338222 /arch/arm/xen | |
parent | 5d0538b2b884f7fd239f6ab3b667148dc57123f1 (diff) | |
download | linux-a98f565462f0fca9096e8f53933364dc2a74bc90.tar.bz2 |
xen-swiotlb: split xen_swiotlb_init
Split xen_swiotlb_init into a normal an an early case. That makes both
much simpler and more readable, and also allows marking the early
code as __init and x86-only.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'arch/arm/xen')
-rw-r--r-- | arch/arm/xen/mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index 467fa225c3d0..aae950cd053f 100644 --- a/arch/arm/xen/mm.c +++ b/arch/arm/xen/mm.c @@ -140,7 +140,7 @@ static int __init xen_mm_init(void) struct gnttab_cache_flush cflush; if (!xen_initial_domain()) return 0; - xen_swiotlb_init(1, false); + xen_swiotlb_init(); cflush.op = 0; cflush.a.dev_bus_addr = 0; |