diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h index 36e5e75e7..be01eda3b 100755 --- a/include/net/busy_poll.h +++ b/include/net/busy_poll.h @@ -61,7 +61,7 @@ static inline bool sk_can_busy_loop(struct sock *sk) static inline unsigned long busy_loop_current_time(void) { #ifdef CONFIG_NET_RX_BUSY_POLL - return (unsigned long)(local_clock() >> 10); + return (unsigned long)(ktime_get_ns() >> 10); #else return 0; #endif