diff --git a/kernel/sched.c b/kernel/sched.c
index 50c3587b06cb4fa8df2452e3d674ee4f68529400..0112f63ad376ee873d2755fcaf9fdd3430f89a51 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -353,7 +353,7 @@ static unsigned long long __rq_clock(struct rq *rq)
 	return clock;
 }
 
-static inline unsigned long long rq_clock(struct rq *rq)
+static unsigned long long rq_clock(struct rq *rq)
 {
 	int this_cpu = smp_processor_id();