From: Wei Huang Date: Tue, 21 Nov 2017 04:45:00 +0000 (-0500) Subject: Add cpu type checking for aarch64 in sattypes.h file X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=53aadb92f3822085d5c0c2ddf292bb05aabee932;p=stressapptest Add cpu type checking for aarch64 in sattypes.h file To avoid the warning message while compiling on aarch64 machines, this patch adds STRESSAPPTEST_CPU_AARCH64 support in CPU type checking to sattypes.h file Signed-off-by: Wei Huang --- diff --git a/src/sattypes.h b/src/sattypes.h index 79bb47d..251e8bc 100644 --- a/src/sattypes.h +++ b/src/sattypes.h @@ -227,6 +227,8 @@ inline void cpuid( return; #elif defined(STRESSAPPTEST_CPU_ARMV7A) return; +#elif defined(STRESSAPPTEST_CPU_AARCH64) + return; #else #warning "Unsupported CPU type." #endif