Browse Source

KVM: ARM64: Fix typos

Signed-off-by: Andrea Gelmini <andrea.gelmini@gelma.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Andrea Gelmini 9 years ago
parent
commit
edce2292c1
3 changed files with 3 additions and 3 deletions
  1. 1 1
      arch/arm64/include/asm/kvm_arm.h
  2. 1 1
      arch/arm64/kvm/guest.c
  3. 1 1
      arch/arm64/kvm/reset.c

+ 1 - 1
arch/arm64/include/asm/kvm_arm.h

@@ -178,7 +178,7 @@
 /* Hyp System Trap Register */
 /* Hyp System Trap Register */
 #define HSTR_EL2_T(x)	(1 << x)
 #define HSTR_EL2_T(x)	(1 << x)
 
 
-/* Hyp Coproccessor Trap Register Shifts */
+/* Hyp Coprocessor Trap Register Shifts */
 #define CPTR_EL2_TFP_SHIFT 10
 #define CPTR_EL2_TFP_SHIFT 10
 
 
 /* Hyp Coprocessor Trap Register */
 /* Hyp Coprocessor Trap Register */

+ 1 - 1
arch/arm64/kvm/guest.c

@@ -211,7 +211,7 @@ unsigned long kvm_arm_num_regs(struct kvm_vcpu *vcpu)
 /**
 /**
  * kvm_arm_copy_reg_indices - get indices of all registers.
  * kvm_arm_copy_reg_indices - get indices of all registers.
  *
  *
- * We do core registers right here, then we apppend system regs.
+ * We do core registers right here, then we append system regs.
  */
  */
 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices)
 int kvm_arm_copy_reg_indices(struct kvm_vcpu *vcpu, u64 __user *uindices)
 {
 {

+ 1 - 1
arch/arm64/kvm/reset.c

@@ -98,7 +98,7 @@ int kvm_arch_dev_ioctl_check_extension(long ext)
  * @vcpu: The VCPU pointer
  * @vcpu: The VCPU pointer
  *
  *
  * This function finds the right table above and sets the registers on
  * This function finds the right table above and sets the registers on
- * the virtual CPU struct to their architectually defined reset
+ * the virtual CPU struct to their architecturally defined reset
  * values.
  * values.
  */
  */
 int kvm_reset_vcpu(struct kvm_vcpu *vcpu)
 int kvm_reset_vcpu(struct kvm_vcpu *vcpu)