ACK: [PATCH] acpi: apicinstance: make this an Intel x86 only test
Alex Hung
alex.hung at canonical.com
Wed Dec 12 06:48:27 UTC 2012
On 12/08/2012 12:16 AM, Colin King wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> This test does not make much sense on non-x86 machines, so make it
> an Intel x86 only test.
>
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---
> src/acpi/apicinstance/apicinstance.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/acpi/apicinstance/apicinstance.c b/src/acpi/apicinstance/apicinstance.c
> index 60416a2..a18b6dc 100644
> --- a/src/acpi/apicinstance/apicinstance.c
> +++ b/src/acpi/apicinstance/apicinstance.c
> @@ -19,6 +19,8 @@
>
> #include "fwts.h"
>
> +#ifdef FWTS_ARCH_INTEL
> +
> static int apicinstance_test1(fwts_framework *fw)
> {
> fwts_acpi_table_info *first_madt_table = NULL;
> @@ -82,3 +84,5 @@ static fwts_framework_ops apicinstance_ops = {
> };
>
> FWTS_REGISTER(apicinstance, &apicinstance_ops, FWTS_TEST_ANYTIME, FWTS_FLAG_BATCH);
> +
> +#endif
>
Acked-by: Alex Hung <alex.hung at canonical.com>
More information about the fwts-devel
mailing list