|
@@ -351,7 +351,7 @@ static inline unsigned long _msecs_to_jiffies(const unsigned int m)
|
|
|
* directly here and from __msecs_to_jiffies() in the case where
|
|
|
* constant folding is not possible.
|
|
|
*/
|
|
|
-static inline unsigned long msecs_to_jiffies(const unsigned int m)
|
|
|
+static __always_inline unsigned long msecs_to_jiffies(const unsigned int m)
|
|
|
{
|
|
|
if (__builtin_constant_p(m)) {
|
|
|
if ((int)m < 0)
|
|
@@ -405,7 +405,7 @@ static inline unsigned long _usecs_to_jiffies(const unsigned int u)
|
|
|
* directly here and from __msecs_to_jiffies() in the case where
|
|
|
* constant folding is not possible.
|
|
|
*/
|
|
|
-static inline unsigned long usecs_to_jiffies(const unsigned int u)
|
|
|
+static __always_inline unsigned long usecs_to_jiffies(const unsigned int u)
|
|
|
{
|
|
|
if (__builtin_constant_p(u)) {
|
|
|
if (u > jiffies_to_usecs(MAX_JIFFY_OFFSET))
|