]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: armv8_deprecated: update the comments of armv8_deprecated_init()
authorHanjun Guo <guohanjun@huawei.com>
Wed, 11 Dec 2019 07:27:33 +0000 (15:27 +0800)
committerWill Deacon <will@kernel.org>
Wed, 8 Jan 2020 17:29:41 +0000 (17:29 +0000)
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>
arch/arm64/kernel/armv8_deprecated.c

index ca158be21f833bcaeac18641777dc0709083b624..7832b32163708574d80fe2681d5aa023b4c30605 100644 (file)
@@ -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)
 {