From patchwork Fri Dec 7 09:10:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: acpi: pcc: make this test an Intel only test Date: Thu, 06 Dec 2012 23:10:23 -0000 From: Colin King X-Patchwork-Id: 204435 Message-Id: <1354871423-12054-1-git-send-email-colin.king@canonical.com> To: fwts-devel@lists.ubuntu.com From: Colin Ian King The PCC test really doesn't make sense on other architectures so disable this for non-Intel builds. Signed-off-by: Colin Ian King Acked-by: Keng-Yu Lin Acked-by: Ivan Hu --- 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 #include #include @@ -467,3 +469,5 @@ static fwts_framework_ops pcc_ops = { }; FWTS_REGISTER(pcc, &pcc_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH); + +#endif