On Wed, Feb 08, 2017 at 04:15:59PM +0800, Yi Sun wrote: > static void __init parse_psr_bool(char *s, char *value, char *feature, > @@ -479,12 +495,14 @@ static struct psr_socket_info *get_socket_info(unsigned > int socket) > return socket_info + socket; > } > > -int psr_get_info(unsigned int socket, enum cbm_type type, > - uint32_t data[], unsigned int array_len) > +static int __psr_get(unsigned int socket, enum cbm_type type, > + uint32_t data[], unsigned int array_len, > + struct domain *d, uint64_t *val)
Double underscore is part of the reserved namespace. Calling this function psr_get should be fine. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel