perfc: fix build after commit fc32575968 when CONFIG_PERF_COUNTERS=y
authorJulien Grall <julien.grall@arm.com>
Thu, 21 Sep 2017 13:33:32 +0000 (15:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 Sep 2017 13:33:32 +0000 (15:33 +0200)
commita2177ad0cb53237c35e78f6c6b9adcd15b6ffb1d
treecd939531339aa32d2e0782c653834369e3c37e3c
parentb532dfff95dd775907528737f77472a227c9536a
perfc: fix build after commit fc32575968 when CONFIG_PERF_COUNTERS=y

The commit fc32575968 "public/sysctl: drop unnecessary typedefs and
handles" went a bit too far by replacing all xen_systcl_*_t type to
struct xen_sysctl_*.

However, xen_sysctl_perfc_val_t was a typedef on uint32_t and therefore
is not associated to a structure.

Use xen_sysctl_perfc_val_t to fix the build when CONFIG_PERF_COUNTERS=y

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/common/perfc.c