[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v16 04/10] x86: detect and initialize Cache Monitoring Technology feature
>>> On 25.09.14 at 12:19, <chao.p.peng@xxxxxxxxxxxxxxx> wrote: > --- a/xen/arch/x86/Makefile > +++ b/xen/arch/x86/Makefile > @@ -59,6 +59,7 @@ obj-y += crash.o > obj-y += tboot.o > obj-y += hpet.o > obj-y += xstate.o > +obj-y += psr.o The list upwards from here is at least roughly alphabetically ordered (or once was), so please put your addition elsewhere than at the end. > +static void __init parse_psr_param(char *s) > +{ > + char *ss, *val_str; > + > + do { > + ss = strchr(s, ','); > + if ( ss ) > + *ss = '\0'; > + > + val_str = strchr(s, ':'); > + if ( val_str ) > + *val_str++ = '\0'; > + > + if ( !strcmp(s, "cmt") > + && ( !val_str || parse_bool(val_str) == 1 )) { > + opt_psr &= PSR_CMT; > + } else if ( val_str && !strcmp(s, "rmid_max") ) Coding style. > + printk(XENLOG_INFO "Cache Monitoring Technology Enabled.\n"); "... enabled\n" Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |