--- zzzz-none-000/linux-5.4.213/lib/ratelimit.c 2022-09-15 10:04:56.000000000 +0000 +++ miami-7690-761/linux-5.4.213/lib/ratelimit.c 2024-05-29 11:20:02.000000000 +0000 @@ -11,6 +11,7 @@ #include #include #include +#include /* * __ratelimit - rate limiting @@ -44,7 +45,7 @@ * in addition to the one that will be printed by * the entity that is holding the lock already: */ - if (!raw_spin_trylock_irqsave(&rs->lock, flags)) + if (!__raw_rte_raw_spin_trylock_irqsave(&rs->lock, flags)) return 0; if (!rs->begin) @@ -69,7 +70,7 @@ rs->missed++; ret = 0; } - raw_spin_unlock_irqrestore(&rs->lock, flags); + __raw_rte_raw_spin_unlock_irqrestore(&rs->lock, flags); return ret; }