Skip to content

Commit

Permalink
arm64: armv8_deprecated: update the comments of armv8_deprecated_init()
Browse files Browse the repository at this point in the history
In commit c0d8832 ("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>
  • Loading branch information
Hanjun Guo authored and Will Deacon committed Jan 8, 2020
1 parent 31d868c commit 2641533
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm64/kernel/armv8_deprecated.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2641533

Please sign in to comment.