diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-11-13 02:25:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-13 02:25:32 -0500 |
commit | 2378982487c492541d17adc0a870e7e83b07ba43 (patch) | |
tree | 0763aee8034a2db3c3949a6b9d7952263420335e /include | |
parent | e4412cb8a6b4190cf73ae44c859fd7e3727d8b13 (diff) |
net: ifdef struct sock::sk_async_wait_queue
Every user is under CONFIG_NET_DMA already, so ifdef field as well.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 08291c1be41e..8b2b82131b67 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -239,7 +239,9 @@ struct sock { | |||
239 | int sk_sndbuf; | 239 | int sk_sndbuf; |
240 | struct sk_buff_head sk_receive_queue; | 240 | struct sk_buff_head sk_receive_queue; |
241 | struct sk_buff_head sk_write_queue; | 241 | struct sk_buff_head sk_write_queue; |
242 | #ifdef CONFIG_NET_DMA | ||
242 | struct sk_buff_head sk_async_wait_queue; | 243 | struct sk_buff_head sk_async_wait_queue; |
244 | #endif | ||
243 | int sk_wmem_queued; | 245 | int sk_wmem_queued; |
244 | int sk_forward_alloc; | 246 | int sk_forward_alloc; |
245 | gfp_t sk_allocation; | 247 | gfp_t sk_allocation; |