]> Git Repo - qemu.git/commitdiff
target/arm: fix code comments error
authorDongjiu Geng <[email protected]>
Mon, 8 Oct 2018 13:55:02 +0000 (14:55 +0100)
committerPeter Maydell <[email protected]>
Mon, 8 Oct 2018 13:55:02 +0000 (14:55 +0100)
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 <[email protected]>
Message-id: 1538069046[email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
target/arm/kvm.c
target/arm/kvm_arm.h

index 65f867d56925066329039e91d14aaa884b985609..54ef5f711b89297e2fef509b7b6abaff83bb6ecf 100644 (file)
@@ -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).
  */
index 863f205822e2407a82b8ca303e75534f30ce007e..5948e8b56027b167bbc7439fcf71a23aa9a593f4 100644 (file)
@@ -50,9 +50,9 @@ void kvm_arm_register_device(MemoryRegion *mr, uint64_t devid, uint64_t group,
 
 /**
  * kvm_arm_init_cpreg_list:
- * @cs: CPUState
+ * @cpu: ARMCPU
  *
- * 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).
  *
This page took 0.028509 seconds and 4 git commands to generate.