mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target/arm: fix code comments error
The parameter of kvm_arm_init_cpreg_list() is ARMCPU instead of CPUState, so correct the note to make it match the code. Signed-off-by: Dongjiu Geng <gengdongjiu@huawei.com> Message-id: 1538069046-5757-1-git-send-email-gengdongjiu@huawei.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
079911cb6e
commit
c8a4470986
2 changed files with 3 additions and 3 deletions
|
@ -310,7 +310,7 @@ static int compare_u64(const void *a, const void *b)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* Initialize the CPUState's cpreg list according to the kernel's
|
||||
/* Initialize the ARMCPU cpreg list according to the kernel's
|
||||
* definition of what CPU registers it knows about (and throw away
|
||||
* the previous TCG-created cpreg list).
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue