[PATCH] acpi: pcc: make this test an Intel only test
IvanHu
ivan.hu at canonical.com
Fri Dec 14 00:05:11 UTC 2012
On 12/07/2012 05:10 PM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The PCC test really doesn't make sense on other architectures so
> disable this for non-Intel builds.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/pcc/pcc.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/acpi/pcc/pcc.c b/src/acpi/pcc/pcc.c
> index c3b6a38..3848014 100644
> --- a/src/acpi/pcc/pcc.c
> +++ b/src/acpi/pcc/pcc.c
> @@ -18,6 +18,8 @@
> */
> #include "fwts.h"
>
> +#ifdef FWTS_ARCH_INTEL
> +
> #include <stdio.h>
> #include <stdlib.h>
> #include <string.h>
> @@ -467,3 +469,5 @@ static fwts_framework_ops pcc_ops = {
> };
>
> FWTS_REGISTER(pcc, &pcc_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH);
> +
> +#endif
>
Acked-by: Ivan Hu <ivan.hu at canonical.com>
More information about the fwts-devel
mailing list