Skip to contentSkip to conversation

xen: arm: procinfo.h: Fixed a typo

PATCH Superseded Ayan Kumar Halder 3 participants 3 messages Sep 28, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: arm: procinfo.h: Fixed a typo

Change VPCU to VCPU.

---
 xen/arch/arm/include/asm/procinfo.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/include/asm/procinfo.h +1 -1
index 02be56e348..8b8dae3dd4 100644
@@ -24,7 +24,7 @@
 #include <xen/sched.h>
 
 struct processor {
-    /* Initialize specific processor register for the new VPCU*/
+    /* Initialize specific processor register for the new VCPU*/
     void (*vcpu_initialise)(struct vcpu *v);
 };
 
Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw

Hi Ayan,

Quoted 12 lines · Ayan Kumar Halder

Change VPCU to VCPU.

---
  xen/arch/arm/include/asm/procinfo.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/include/asm/procinfo.h +0 -0
index 02be56e348..8b8dae3dd4 100644

xen/arch/arm/include/asm/procinfo.h line 27

Quoted 5 lines
xen/arch/arm/include/asm/procinfo.h +1 -1
@@ -24,7 +24,7 @@
  #include <xen/sched.h>
 
  struct processor {
-    /* Initialize specific processor register for the new VPCU*/
+    /* Initialize specific processor register for the new VCPU*/

As you are modifying the line, can you also add the missing space before */?

I have also a slight preference for using vCPU over VCPU.

With that addressed:

Cheers,

Signature · 1 line
Julien Grall
#2 lore raw
Quoted 2 lines · Julien Grall

Hi Ayan,

Hi Julien,

Quoted 21 lines · Ayan Kumar Halder
Quoted 12 lines

Change VPCU to VCPU.

---
  xen/arch/arm/include/asm/procinfo.h | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/include/asm/procinfo.h +0 -0
index 02be56e348..8b8dae3dd4 100644

xen/arch/arm/include/asm/procinfo.h line 26

Quoted 4 lines
xen/arch/arm/include/asm/procinfo.h +1 -1
@@ -24,7 +24,7 @@
   #include <xen/sched.h>
     struct processor {
-    /* Initialize specific processor register for the new VPCU*/
+    /* Initialize specific processor register for the new VCPU*/

As you are modifying the line, can you also add the missing space before */?

Quoted 1 line

I have also a slight preference for using vCPU over VCPU.

I will address both of your suggestions and send a v2.

Just fyi, I see vCPU and VCPU used interchangebly.

xen/arch/arm/include/asm/new_vgic.h uses VCPU.

xen/arch/arm/vgic-v2.c uses vCPU.

Quoted 6 lines

With that addressed:

Cheers,

- Ayan