summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHanjun Guo <guohanjun@huawei.com>2019-12-11 15:27:33 +0800
committerWill Deacon <will@kernel.org>2020-01-08 17:29:41 +0000
commit26415330a754b464b14a8e1afabeaba3381ba1eb (patch)
tree61e26b6e04a70824b4dc602c5967857a8e74dbd1
parent31d868c49017140970d3a4ae45ab11d67618011c (diff)
downloadlinux-26415330a754b464b14a8e1afabeaba3381ba1eb.tar.bz2
arm64: armv8_deprecated: update the comments of armv8_deprecated_init()
In commit c0d8832e78cb ("arm64: Ensure the instruction emulation is ready for userspace"), armv8_deprecated_init() was promoted to core_initcall() but the comments were left unchanged, update it now. Spotted by some random reading of the code. Signed-off-by: Hanjun Guo <guohanjun@huawei.com> [will: "can guarantee" => "guarantees"] Signed-off-by: Will Deacon <will@kernel.org>
-rw-r--r--arch/arm64/kernel/armv8_deprecated.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm64/kernel/armv8_deprecated.c b/arch/arm64/kernel/armv8_deprecated.c
index ca158be21f83..7832b3216370 100644
--- a/arch/arm64/kernel/armv8_deprecated.c
+++ b/arch/arm64/kernel/armv8_deprecated.c
@@ -618,7 +618,8 @@ static struct insn_emulation_ops setend_ops = {
};
/*
- * Invoked as late_initcall, since not needed before init spawned.
+ * Invoked as core_initcall, which guarantees that the instruction
+ * emulation is ready for userspace.
*/
static int __init armv8_deprecated_init(void)
{