[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] xen/cpu: undefine MASK_DECLARE_ macros after their usage
commit 5ee8b1841183bcac492324627fd0dc99b10fdc91 Author: Xenia Ragiadakou <burzalodowa@xxxxxxxxx> AuthorDate: Tue Aug 9 11:52:06 2022 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue Aug 9 11:52:06 2022 +0200 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 <jbeulich@xxxxxxxx> Signed-off-by: Xenia Ragiadakou <burzalodowa@xxxxxxxxx> Acked-by: Jan Beulich <jbeulich@xxxxxxxx> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx> --- xen/common/cpu.c | 5 +++++ 1 file changed, 5 insertions(+) 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) -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |