diff options
author | Hanjun Guo <guohanjun@huawei.com> | 2019-12-11 08:27:33 +0100 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-01-08 18:29:41 +0100 |
commit | 26415330a754b464b14a8e1afabeaba3381ba1eb (patch) | |
tree | 61e26b6e04a70824b4dc602c5967857a8e74dbd1 /arch/arm64/kernel/armv8_deprecated.c | |
parent | arm64: kpti: Add Broadcom Brahma-B53 core to the KPTI whitelist (diff) | |
download | linux-26415330a754b464b14a8e1afabeaba3381ba1eb.tar.xz linux-26415330a754b464b14a8e1afabeaba3381ba1eb.zip |
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>
Diffstat (limited to 'arch/arm64/kernel/armv8_deprecated.c')
-rw-r--r-- | arch/arm64/kernel/armv8_deprecated.c | 3 |
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) { |