Skip to content

Commit

Permalink
net: lls fix build with allnoconfig
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eliezer Tamir authored and David S. Miller committed Jul 3, 2013
1 parent 23a3647 commit 419076f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/net/ll_poll.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ static inline unsigned long ll_get_flag(void)
return 0;
}

static inline u64 sk_ll_end_time(struct sock *sk)
static inline u64 ll_start_time(unsigned int flag)
{
return 0;
}

static inline u64 ll_end_time(void)
static inline u64 ll_run_time(void)
{
return 0;
}
Expand All @@ -191,7 +191,7 @@ static inline void sk_mark_ll(struct sock *sk, struct sk_buff *skb)
{
}

static inline bool can_poll_ll(u64 end_time)
static inline bool can_poll_ll(u64 start_time, u64 run_time)
{
return false;
}
Expand Down

0 comments on commit 419076f

Please sign in to comment.