--- zzzz-none-000/linux-4.4.271/lib/ratelimit.c 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/lib/ratelimit.c 2023-04-19 10:22:30.000000000 +0000 @@ -12,6 +12,7 @@ #include #include #include +#include /* * __ratelimit - rate limiting @@ -39,7 +40,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) @@ -60,7 +61,7 @@ rs->missed++; ret = 0; } - raw_spin_unlock_irqrestore(&rs->lock, flags); + __raw_rte_raw_spin_unlock_irqrestore(&rs->lock, flags); return ret; }