mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
util: add ARCH_IS_MIPS64 helper macro
In most cases logic for MIPS64 and MIPS64EL will be identical. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
a1a960acb6
commit
05734471bb
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user