From: Xenia Ragiadakou Date: Tue, 9 Aug 2022 09:52:06 +0000 (+0200) Subject: xen/cpu: undefine MASK_DECLARE_ macros after their usage X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~333 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5ee8b1841183bcac492324627fd0dc99b10fdc91;p=xen.git xen/cpu: undefine MASK_DECLARE_ macros after their usage MASK_DECLARE_ macros have only a limited scope. Remove their definitions immediately after their usage. Suggested-by: Jan Beulich Signed-off-by: Xenia Ragiadakou Acked-by: Jan Beulich Reviewed-by: Bertrand Marquis --- diff --git a/xen/common/cpu.c b/xen/common/cpu.c index 4bdb017b0e..778b6820b7 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)