[libvirt PATCH v2 08/20] cpu_arm: No need to protect macro definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
 src/cpu/cpu_arm.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/cpu/cpu_arm.c b/src/cpu/cpu_arm.c
index 09ade1d422..ac174891b7 100644
--- a/src/cpu/cpu_arm.c
+++ b/src/cpu/cpu_arm.c
@@ -39,12 +39,11 @@
 #include "virxml.h"
 
 #define VIR_FROM_THIS VIR_FROM_CPU
-#if defined(__aarch64__)
+
 /* Shift bit mask for parsing cpu flags */
-# define BIT_SHIFTS(n) (1UL << (n))
+#define BIT_SHIFTS(n) (1UL << (n))
 /* The current max number of cpu flags on ARM is 32 */
-# define MAX_CPU_FLAGS 32
-#endif
+#define MAX_CPU_FLAGS 32
 
 
 VIR_LOG_INIT("cpu.cpu_arm");
-- 
2.31.1




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux