xen/arm: Remove unused field eoi_cpu in arch_irq_desc
PATCH 1/1 xen/arm: Remove unused field eoi_cpu in arch_irq_desc
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)
xen/arch/arm/irq.c +4 -3
@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id (); -/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests. +*/ vgic_vcpu_inject_spi (info->d, info->virq); goto out_no_end; }
xen/include/asm-arm/irq.h +0 -1
@@ -15,7 +15,6 @@ struct arch_pirq };struct arch_irq_desc { -int eoi_cpu;unsigned int type; };
Signature · 1 line
2.1.4
Quoted 16 lines · Julien Grall
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
Signed-off-by Julien Grall <[email protected]>--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)xen/arch/arm/irq.c +0
-0
xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 225
Quoted 10 lines
xen/arch/arm/irq.c +3
-3@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id (); -/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests.
Stray tab?
Otherwise LGTM: Acked-by: Ian Campbell <[email protected]>
Hi Ian,
Quoted 22 lines · Ian Campbell
Quoted 21 lines · Julien Grall
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
Signed-off-by Julien Grall <[email protected]>--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)xen/arch/arm/irq.c +0
-1@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id ();
Quoted 7 lines
xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 225
Quoted 5 lines
xen/arch/arm/irq.c +3
-2-/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests. Stray tab?
Yes, sorry. I have edited the file with the wrong vim configuration.
Quoted 1 line
Otherwise LGTM: Acked-by: Ian Campbell <[email protected]>
Shall I resend the patch?
Regards,
Signature · 1 line
Julien Grall
Quoted 33 lines · Julien Grall
Hi Ian,
Quoted 22 lines · Ian Campbell
Quoted 21 lines · Julien Grall
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
Signed-off-by Julien Grall <[email protected]>--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)xen/arch/arm/irq.c +0
-1@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id ();Quoted 7 lines
xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 225
Quoted 5 lines
xen/arch/arm/irq.c +3
-2-/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests. Stray tab?
Quoted 5 lines
Yes, sorry. I have edited the file with the wrong vim configuration.
Quoted 1 line
Otherwise LGTM: Acked-by: Ian Campbell <[email protected]>
Shall I resend the patch?
I'll fix on commit I think
Quoted 3 lines
Regards,
Quoted 34 lines · Ian Campbell
Quoted 33 lines · Julien Grall
Hi Ian,
Quoted 29 lines · Ian Campbell
Quoted 16 lines · Julien Grall
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
Signed-off-by Julien Grall <[email protected]>--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)xen/arch/arm/irq.c +0
-0xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 225
Quoted 10 lines
xen/arch/arm/irq.c +3
-3@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id (); -/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests. Stray tab?
Quoted 7 lines
Quoted 5 lines
Yes, sorry. I have edited the file with the wrong vim configuration.
Quoted 1 line
Otherwise LGTM: Acked-by: Ian Campbell <[email protected]>
Shall I resend the patch?
I'll fix on commit I think
Thank you!
Signature · 1 line
Julien Grall
Ian Campbell
AppliedQuoted 30 lines · Ian Campbell
Quoted 16 lines · Julien Grall
This field have been set but not used since Xen 4.5. Slim down Xen by about 4K by removing it.
Also fix comment coding style.
Signed-off-by Julien Grall <[email protected]>--- xen/arch/arm/irq.c | 7 ++++--- xen/include/asm-arm/irq.h | 1 - 2 files changed, 4 insertions(+), 4 deletions(-)xen/arch/arm/irq.c +0
-0xen/arch/arm/irq.c void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) · line 225
Quoted 10 lines
xen/arch/arm/irq.c +3
-3@@ -219,10 +219,11 @@ void do_IRQ(struct cpu_user_regs *regs, unsigned int irq, int is_fiq) desc->handler->end (desc);set_bit (_IRQ_INPROGRESS, &desc->status); - desc->arch.eoi_cpu =smp_processor_id (); -/* the irq cannot be a PPI, we only support delivery of SPIs to -* guests */ +/* +* The irq cannot be a PPI, we only support delivery of SPIs to +* guests. Stray tab?
Quoted 1 line
Otherwise LGTM: Acked-by: Ian Campbell <[email protected]>
Applied.
Quoted 7 lines
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel