]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[cloud] Attempt to include CPUID_SETTINGS only for x86 builds
authorMichael Brown <mcb30@ipxe.org>
Sun, 2 May 2021 11:35:37 +0000 (12:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sun, 2 May 2021 11:38:03 +0000 (12:38 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/config/cloud/settings.h

index 34deeb0708f652ab0a514e12bd6934ad7b8649d0..c9d6bdc933949684fa32288132367ca32ffa248b 100644 (file)
@@ -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