|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 0/4] xen/arch: Treewide improvement of irq helper APIs
This is a rather old cleanup series which I never got around to finishing. It
is restricted to the arch maintainers as it is purely mechanical outside of
system.h
The main purpose is to reduce the quantity of code we have which mutates
parameters by name.
One ARM point which I've noticed is that system.h is a mix of duplicated
common code in the arch{32,64}/ versions, and ifdefary in the common version.
Does this perhaps want to be made consistent? I've not touched the layout in
this series.
Andrew Cooper (4):
xen/arch: Switch local_*_is_enabled() predicates to return bool
xen/arch: Switch local_save_flags() to being a static inline helper
xen/arch: Switch local_irq_save() to being a static inline helper
xen/arch: Switch local_irq_restore() to being a static inline helper
xen/arch/arm/mm.c | 4 +--
xen/arch/arm/p2m.c | 2 +-
xen/arch/x86/acpi/power.c | 2 +-
xen/arch/x86/apic.c | 10 +++----
xen/arch/x86/cpu/mtrr/generic.c | 4 +--
xen/arch/x86/cpu/mtrr/main.c | 6 ++--
xen/arch/x86/domain.c | 2 +-
xen/arch/x86/domain_page.c | 4 +--
xen/arch/x86/flushtlb.c | 4 +--
xen/arch/x86/genapic/x2apic.c | 4 +--
xen/arch/x86/hpet.c | 3 +-
xen/arch/x86/hvm/vmx/vmcs.c | 6 ++--
xen/arch/x86/io_apic.c | 4 +--
xen/arch/x86/nmi.c | 3 +-
xen/arch/x86/platform_hypercall.c | 2 +-
xen/arch/x86/smp.c | 4 +--
xen/arch/x86/time.c | 5 ++--
xen/arch/x86/traps.c | 2 +-
xen/common/cpupool.c | 2 +-
xen/common/gdbstub.c | 6 ++--
xen/common/livepatch.c | 4 +--
xen/common/rcupdate.c | 2 +-
xen/common/spinlock.c | 3 +-
xen/common/timer.c | 2 +-
xen/drivers/char/console.c | 5 ++--
xen/drivers/char/serial.c | 4 +--
xen/drivers/passthrough/io.c | 4 +--
xen/include/asm-arm/arm32/system.h | 56 +++++++++++++++++-----------------
xen/include/asm-arm/arm64/system.h | 61 ++++++++++++++++++--------------------
xen/include/asm-arm/system.h | 6 ++--
xen/include/asm-x86/system.h | 48 +++++++++++++++---------------
xen/include/xen/rwlock.h | 7 ++---
xen/include/xen/spinlock.h | 2 +-
33 files changed, 133 insertions(+), 150 deletions(-)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |