We need to load and initialize the FIPS module quite early in the boot
process, but in order to load modules we need to have params sysfs set
up. Bump it up a bit in the boot process.

Cc: Luis Chamberlain <[email protected]>
Cc: Petr Pavlu <[email protected]>
Cc: Daniel Gomez <[email protected]>
Cc: Sami Tolvanen <[email protected]>
Cc: [email protected]
Signed-off-by: Vegard Nossum <[email protected]>
---
 kernel/params.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/params.c b/kernel/params.c
index b92d64161b75..03a55ff70bd8 100644
--- a/kernel/params.c
+++ b/kernel/params.c
@@ -971,7 +971,7 @@ static int __init param_sysfs_init(void)
 
        return 0;
 }
-subsys_initcall(param_sysfs_init);
+arch_initcall(param_sysfs_init);
 
 /*
  * param_sysfs_builtin_init - add sysfs version and parameter
-- 
2.39.3


Reply via email to