[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 07/15] x86/acpi: Add Hygon Dhyana support
>>> On 20.12.18 at 14:14, <puwen@xxxxxxxx> wrote: > Add Hygon Dhyana support to the acpi cpufreq subsystem by using the code > path of AMD. ... cpufreq and cpuidle subsystems ... > @@ -660,8 +661,9 @@ int cpufreq_cpu_init(unsigned int cpuid) > { > int ret; > > - /* Currently we only handle Intel and AMD processor */ > + /* Currently we only handle Intel and AMD and Hygon processor */ Please replace the first "and" by a comma. > if ( (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL ) || > + (boot_cpu_data.x86_vendor == X86_VENDOR_HYGON ) || > (boot_cpu_data.x86_vendor == X86_VENDOR_AMD ) ) > ret = cpufreq_add_cpu(cpuid); > else At the very least here I think you want to change to switch(). Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |