[PATCH v3 03/62] acpi/pmstat: Build pmstat for x86 only

Jan Beulich JBeulich at suse.com
Mon Nov 23 07:46:01 PST 2015


>>> On 17.11.15 at 10:40, <shannon.zhao at linaro.org> wrote:
> --- a/xen/common/sysctl.c
> +++ b/xen/common/sysctl.c
> @@ -171,7 +171,7 @@ long do_sysctl(XEN_GUEST_HANDLE_PARAM(xen_sysctl_t) u_sysctl)
>          op->u.availheap.avail_bytes <<= PAGE_SHIFT;
>          break;
>  
> -#ifdef HAS_ACPI
> +#ifdef HAS_CPUFREQ

You should combine the two instead of replacing one with the other.

Jan




More information about the linux-arm-kernel mailing list