diff options
author | Cédric Le Goater <clg@kaod.org> | 2020-12-15 18:40:25 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2021-01-06 11:09:59 +1100 |
commit | ab9c93c25c16e48065428f8daa760592cba3226c (patch) | |
tree | f67c9596b7172bfb58a2a6985c46a05e3958415f | |
parent | 73231f7c5fa135274682c3510d3a0b0d4f2628a1 (diff) | |
download | qemu-ab9c93c25c16e48065428f8daa760592cba3226c.zip qemu-ab9c93c25c16e48065428f8daa760592cba3226c.tar.gz qemu-ab9c93c25c16e48065428f8daa760592cba3226c.tar.bz2 |
spapr/xive: Make spapr_xive_pic_print_info() static
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20201215174025.2636824-1-clg@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | hw/intc/spapr_xive.c | 2 | ||||
-rw-r--r-- | include/hw/ppc/spapr_xive.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/hw/intc/spapr_xive.c b/hw/intc/spapr_xive.c index caedd31..801bc19 100644 --- a/hw/intc/spapr_xive.c +++ b/hw/intc/spapr_xive.c @@ -156,7 +156,7 @@ static void spapr_xive_end_pic_print_info(SpaprXive *xive, XiveEND *end, #define spapr_xive_in_kernel(xive) \ (kvm_irqchip_in_kernel() && (xive)->fd != -1) -void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) +static void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon) { XiveSource *xsrc = &xive->source; int i; diff --git a/include/hw/ppc/spapr_xive.h b/include/hw/ppc/spapr_xive.h index 26c8d90..b282960 100644 --- a/include/hw/ppc/spapr_xive.h +++ b/include/hw/ppc/spapr_xive.h @@ -66,8 +66,6 @@ typedef struct SpaprXiveClass { */ #define SPAPR_XIVE_BLOCK_ID 0x0 -void spapr_xive_pic_print_info(SpaprXive *xive, Monitor *mon); - struct SpaprMachineState; void spapr_xive_hcall_init(struct SpaprMachineState *spapr); void spapr_xive_mmio_set_enabled(SpaprXive *xive, bool enable); |