]> xenbits.xensource.com Git - xen.git/commitdiff
libxc: fix compilation error with gcc13
authorCharles Arnold <carnold@suse.com>
Wed, 6 Jul 2022 11:06:40 +0000 (13:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 6 Jul 2022 11:06:40 +0000 (13:06 +0200)
xc_psr.c:161:5: error: conflicting types for 'xc_psr_cmt_get_data'
due to enum/integer mismatch;

Signed-off-by: Charles Arnold <carnold@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/include/xenctrl.h

index 5464a68eb2d8b44837ed2f069b26bdbc4dd54260..0c8b4c3aa7a5f639c314e14dfb40e75782186e25 100644 (file)
@@ -2520,7 +2520,7 @@ int xc_psr_cmt_get_l3_event_mask(xc_interface *xch, uint32_t *event_mask);
 int xc_psr_cmt_get_l3_cache_size(xc_interface *xch, uint32_t cpu,
                                  uint32_t *l3_cache_size);
 int xc_psr_cmt_get_data(xc_interface *xch, uint32_t rmid, uint32_t cpu,
-                        uint32_t psr_cmt_type, uint64_t *monitor_data,
+                        xc_psr_cmt_type type, uint64_t *monitor_data,
                         uint64_t *tsc);
 int xc_psr_cmt_enabled(xc_interface *xch);