MASK_DECLARE_ macros have only a limited scope. Remove their definitions
immediately after their usage.
Signed-off-by: Xenia Ragiadakou <burzalodowa@gmail.com>
---
Changes in v2:
- new patch
xen/common/cpu.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/xen/common/cpu.c b/xen/common/cpu.c
index c48a1cabd2..4a048caa49 100644
--- a/xen/common/cpu.c
+++ b/xen/common/cpu.c
@@ -40,6 +40,11 @@ const unsigned long cpu_bit_bitmap[BITS_PER_LONG + 1][BITS_TO_LONGS(NR_CPUS)] =
#endif
};
+#undef MASK_DECLARE_8
+#undef MASK_DECLARE_4
+#undef MASK_DECLARE_2
+#undef MASK_DECLARE_1
+
static DEFINE_RWLOCK(cpu_add_remove_lock);
bool get_cpu_maps(void)
--
2.34.1