From 1dfc05622d183213c55b49c3ea4f4fd5c7bd6253 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 2 May 2021 12:35:37 +0100 Subject: [cloud] Attempt to include CPUID_SETTINGS only for x86 builds Signed-off-by: Michael Brown --- src/config/cloud/settings.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/config') diff --git a/src/config/cloud/settings.h b/src/config/cloud/settings.h index 34deeb070..c9d6bdc93 100644 --- a/src/config/cloud/settings.h +++ b/src/config/cloud/settings.h @@ -1,4 +1,6 @@ /* It can often be useful to know the CPU on which a cloud instance is * running (e.g. to isolate problems with Azure AMD instances). */ +#if defined ( __i386__ ) || defined ( __x86_64__ ) #define CPUID_SETTINGS +#endif -- cgit