diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-04-19 06:07:27 +0200 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-04-19 06:07:27 +0200 |
commit | afca6e06494c75e25a71ccb4926459944e23098b (patch) | |
tree | 0eae6468f697a8f31b277735f01e46837bf78f26 /arch/loongarch/kernel/setup.c | |
parent | LoongArch: Check unwind_error() in arch_stack_walk() (diff) | |
download | linux-afca6e06494c75e25a71ccb4926459944e23098b.tar.xz linux-afca6e06494c75e25a71ccb4926459944e23098b.zip |
LoongArch: Clean up plat_swiotlb_setup() related code
After commit c78c43fe7d42 ("LoongArch: Use acpi_arch_dma_setup() and
remove ARCH_HAS_PHYS_TO_DMA"), plat_swiotlb_setup() has been deleted,
so clean up the related code.
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to '')
-rw-r--r-- | arch/loongarch/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/loongarch/kernel/setup.c b/arch/loongarch/kernel/setup.c index 27f71f9531e1..4444b13418f0 100644 --- a/arch/loongarch/kernel/setup.c +++ b/arch/loongarch/kernel/setup.c @@ -389,8 +389,8 @@ static void __init arch_mem_init(char **cmdline_p) /* * In order to reduce the possibility of kernel panic when failed to * get IO TLB memory under CONFIG_SWIOTLB, it is better to allocate - * low memory as small as possible before plat_swiotlb_setup(), so - * make sparse_init() using top-down allocation. + * low memory as small as possible before swiotlb_init(), so make + * sparse_init() using top-down allocation. */ memblock_set_bottom_up(false); sparse_init(); |