summary refs log tree commit diff
path: root/net/core/sock.c
diff options
context:
space:
mode:
authorCong Wang <amwang@redhat.com>2013-08-01 11:10:24 +0800
committerDavid S. Miller <davem@davemloft.net>2013-08-01 15:10:58 -0700
commitdfcefb0be1231982784df2152213103ad33c1cfd (patch)
tree70dc6ca20c23745ce7bee67cbe5b1c9e2dd13032 /net/core/sock.c
parentb30513202c6c14120f70b2e9aa1e97d47bbc2313 (diff)
downloadlinux-dfcefb0be1231982784df2152213103ad33c1cfd.tar.gz
net: fix a compile error when CONFIG_NET_LL_RX_POLL is not set
When CONFIG_NET_LL_RX_POLL is not set, I got:

net/socket.c: In function ‘sock_poll’:
net/socket.c:1165:4: error: implicit declaration of function ‘sk_busy_loop’ [-Werror=implicit-function-declaration]

Fix this by adding a nop when !CONFIG_NET_LL_RX_POLL.

Cc: Eliezer Tamir <eliezer.tamir@linux.intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/sock.c')
0 files changed, 0 insertions, 0 deletions