aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-05-02 12:35:37 +0100
committerMichael Brown <mcb30@ipxe.org>2021-05-02 12:38:03 +0100
commit1dfc05622d183213c55b49c3ea4f4fd5c7bd6253 (patch)
tree724e8e0d793670646091499960c96119218e5a36 /src/config
parent438513f6f6103f674f65dc91b2d59b81d3b25791 (diff)
downloadipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.zip
ipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.tar.gz
ipxe-1dfc05622d183213c55b49c3ea4f4fd5c7bd6253.tar.bz2
[cloud] Attempt to include CPUID_SETTINGS only for x86 builds
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/cloud/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config/cloud/settings.h b/src/config/cloud/settings.h
index 34deeb0..c9d6bdc 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