[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v5 6/9] x86/intel_pstate: the main boby of the intel_pstate driver
On 14/09/15 03:32, Wei Wang wrote: > We simply grab the fundamental logic of the intel_pstate driver > from Linux kernel, and customize it to Xen style. How much customisation? Is it just style, or other additions as well? (Deletions are less interesting) For files we import directly from Linux, we keep Linux style to simplify taking new patches in the future. Whether it is sensible to do so here depends on how modified it is from Linux. > diff --git a/xen/include/asm-x86/cpufreq.h b/xen/include/asm-x86/cpufreq.h > new file mode 100644 > index 0000000..94410f8 > --- /dev/null > +++ b/xen/include/asm-x86/cpufreq.h > @@ -0,0 +1,34 @@ > +#ifndef _ASM_X86_CPUFREQ_H > +#define _ASM_X86_CPUFREQ_H > + > +/* > + * Copyright (C) 2015 Wei Wang <wei.w.wang@xxxxxxxxx> > + * > + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + * > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, write to the Free Software > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Per c/s 443701e "Replace FSF street address with canonical URL", please correct this GPL header. ~Andrew _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |