bits: add comments and newlines to #if, #else and #endif directives
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>
Tue, 25 Mar 2025 15:59:56 +0000 (00:59 +0900)
committerYury Norov <yury.norov@gmail.com>
Tue, 29 Apr 2025 19:58:38 +0000 (15:58 -0400)
commit31299a5e0211241171b2222c5633aad4763bf700
tree602d778fa24dd854be75fc0d260cdbd82daa807e
parent791a9b25ce2e6ecbe404ee32eed8a96a17e52896
bits: add comments and newlines to #if, #else and #endif directives

This is a preparation for the upcoming GENMASK_U*() and BIT_U*()
changes. After introducing those new macros, there will be a lot of
scrolling between the #if, #else and #endif.

Add a comment to the #else and #endif preprocessor macros to help keep
track of which context we are in. Also, add new lines to better
visually separate the non-asm and asm sections.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
include/linux/bits.h