diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-05-02 12:35:37 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-05-02 12:38:03 +0100 |
commit | 1dfc05622d183213c55b49c3ea4f4fd5c7bd6253 (patch) | |
tree | 724e8e0d793670646091499960c96119218e5a36 /src | |
parent | 438513f6f6103f674f65dc91b2d59b81d3b25791 (diff) | |
download | ipxe-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')
-rw-r--r-- | src/config/cloud/settings.h | 2 |
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 |