Commit 419076f59fc5916bd200b45225c83437b37ab189

Authored by Eliezer Tamir
Committed by David S. Miller
1 parent 23a3647bc4

net: lls fix build with allnoconfig

correct placeholder declarations to prevent build breakage when
!CONFIG_NET_LL_RX_POLL

Signed-off-by: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

include/net/ll_poll.h
... ... @@ -163,12 +163,12 @@
163 163 return 0;
164 164 }
165 165  
166   -static inline u64 sk_ll_end_time(struct sock *sk)
  166 +static inline u64 ll_start_time(unsigned int flag)
167 167 {
168 168 return 0;
169 169 }
170 170  
171   -static inline u64 ll_end_time(void)
  171 +static inline u64 ll_run_time(void)
172 172 {
173 173 return 0;
174 174 }
... ... @@ -191,7 +191,7 @@
191 191 {
192 192 }
193 193  
194   -static inline bool can_poll_ll(u64 end_time)
  194 +static inline bool can_poll_ll(u64 start_time, u64 run_time)
195 195 {
196 196 return false;
197 197 }