[PATCH 03/27] powerpc/swiotlb: give init call a less misleading name
Daniel Axtens
dja at axtens.net
Wed Mar 25 16:35:37 AEDT 2015
swiotlb_late_init sets up platform specific hooks. It's not actually
a late initcall, but a subsys initcall, called much earlier.
Ideally we'd call it swiotlb_init, but that's taken.
Call it swiotlb_subsys_init for now.
(It will be refactored and renamed later.)
Signed-off-by: Daniel Axtens <dja at axtens.net>
---
arch/powerpc/kernel/dma-swiotlb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/kernel/dma-swiotlb.c b/arch/powerpc/kernel/dma-swiotlb.c
index 7359797..d06491b 100644
--- a/arch/powerpc/kernel/dma-swiotlb.c
+++ b/arch/powerpc/kernel/dma-swiotlb.c
@@ -116,7 +116,7 @@ void __init swiotlb_detect_4g(void)
}
}
-static int __init swiotlb_late_init(void)
+static int __init swiotlb_subsys_init(void)
{
if (ppc_swiotlb_enable) {
swiotlb_print_info();
@@ -128,4 +128,4 @@ static int __init swiotlb_late_init(void)
return 0;
}
-subsys_initcall(swiotlb_late_init);
+subsys_initcall(swiotlb_subsys_init);
--
2.1.4
More information about the Linuxppc-dev
mailing list