diff options
author | Wei Huang <wei@redhat.com> | 2017-11-20 23:45:00 -0500 |
---|---|---|
committer | Wei Huang <wei@redhat.com> | 2017-11-20 23:06:59 -0600 |
commit | 53aadb92f3822085d5c0c2ddf292bb05aabee932 (patch) | |
tree | 5b0e36e73580f913e24169d04c6ed9082720d6a5 | |
parent | 8345145a97f226a2f1e403d6638527d69e446c08 (diff) | |
download | stressapptest-53aadb92f3822085d5c0c2ddf292bb05aabee932.tar.gz |
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 <wei@redhat.com>
-rw-r--r-- | src/sattypes.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |