In most cases logic for MIPS64 and MIPS64EL will be identical.

Signed-off-by: Daniel P. Berrangé <berra...@redhat.com>
---
 src/util/virarch.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/util/virarch.h b/src/util/virarch.h
index 46b4609dd5..528f84f8a5 100644
--- a/src/util/virarch.h
+++ b/src/util/virarch.h
@@ -95,6 +95,9 @@ typedef enum {
 #define ARCH_IS_S390(arch) ((arch) == VIR_ARCH_S390 ||\
                             (arch) == VIR_ARCH_S390X)
 
+#define ARCH_IS_MIPS64(arch) ((arch) == VIR_ARCH_MIPS64 ||\
+                              (arch) == VIR_ARCH_MIPS64EL)
+
 typedef enum {
     VIR_ARCH_LITTLE_ENDIAN,
     VIR_ARCH_BIG_ENDIAN,
-- 
2.28.0

Reply via email to