@@ -36,6 +36,7 @@ extern unsigned long __sw_hweight64(__u64 w);
* Provide __deprecated wrappers for the new interface, avoid flag day changes.
* We need the ugly external functions to break header recursion hell.
*/
+DIAG_PUSH DIAG_IGNORE(nested-externs)
#ifndef smp_mb__before_clear_bit
static inline void __deprecated smp_mb__before_clear_bit(void)
{
@@ -51,6 +52,7 @@ static inline void __deprecated smp_mb__after_clear_bit(void)
__smp_mb__after_atomic();
}
#endif
+DIAG_POP
#define for_each_set_bit(bit, addr, size) \
for ((bit) = find_first_bit((addr), (size)); \