xen/cpumask: Introduce a CPUMASK_PR() wrapper for printing
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 25 Jun 2019 09:48:22 +0000 (10:48 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 31 Jul 2019 13:19:02 +0000 (14:19 +0100)
commitc1e80a016356530ac1bfcb79dc24b14fed5b4cbf
treef2bb4f39b75154bca9fadd382433e0cb41f7a488
parentda34ef393a0d8df486b246a27885d90d3912cfeb
xen/cpumask: Introduce a CPUMASK_PR() wrapper for printing

Having to specify 'nr_cpu_id, cpumask_bits(foo)' for all printing operations
is quite repetative.  Introduce a wrapper to help.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
12 files changed:
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/crash.c
xen/arch/x86/io_apic.c
xen/arch/x86/irq.c
xen/arch/x86/sysctl.c
xen/common/cpupool.c
xen/common/keyhandler.c
xen/common/sched_credit.c
xen/common/sched_credit2.c
xen/common/sched_null.c
xen/common/sched_rt.c
xen/include/xen/cpumask.h