mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 12:56:49 +07:00
27222a3d2b
Following commit 74838b7
(swiotlb: add the late swiotlb initialization
function with iotlb memory) the swiotlb_init_with_default_size() is a
static function. This patch changes the arm64 code to call
swiotlb_init() instead and use the default size of 64MB. It is assumed
that AArch64 platforms have enough RAM to afford the pre-allocated
swiotlb memory. It also removes the #ifdef around this call since
CONFIG_SWIOTLB is always enabled.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
4 lines
136 B
C
4 lines
136 B
C
extern void __flush_dcache_page(struct page *page);
|
|
extern void __init bootmem_init(void);
|
|
extern void __init arm64_swiotlb_init(void);
|