Revert "net: busy-poll: use ktime_get_ns() instead of local_clock()"
This reverts commit 97751f7856
.
This commit is contained in:
parent
8f5ba6f0d2
commit
40f7c74cbc
1 changed files with 1 additions and 1 deletions
|
@ -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)(ktime_get_ns() >> 10);
|
||||
return (unsigned long)(local_clock() >> 10);
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue