|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v9 17/25] x86: refactor psr: CDP: implement set value callback functions.
>>> On 16.03.17 at 12:08, <yi.y.sun@xxxxxxxxxxxxxxx> wrote:
> +static bool l3_cdp_fits_cos_max(const uint32_t val[],
> + const struct feat_node *feat,
> + unsigned int cos)
> +{
> + if ( cos > feat->info.cat_info.cos_max &&
> + (val[0] != get_cdp_data(feat, 0) || val[1] != get_cdp_code(feat,
> 0)) )
> + /*
> + * Exceed cos_max and value to set is not default,
> + * return error.
> + */
> + return false;
Indentation. But presumably this function will go away anyway.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |