[PATCH] acpi: pcc: make this test an Intel only test

Keng-Yu Lin kengyu at canonical.com
Wed Dec 12 07:56:52 UTC 2012


On Fri, Dec 7, 2012 at 5:10 PM, Colin King <colin.king at canonical.com> 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
> --
> 1.8.0
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>



More information about the fwts-devel mailing list