tcp: declare tcp_mmap() only when CONFIG_MMU is set
authorYafang Shao <laoar.shao@gmail.com>
Thu, 17 Jan 2019 10:03:14 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jan 2019 22:03:53 +0000 (14:03 -0800)
commit340a6f3d2d52a1b72f3454818e53293807f8f127
tree9316f889cca420da27a65f70324100b2153ab6f9
parentfb70950eb4b1c14a3598321ef7305c941bc5e475
tcp: declare tcp_mmap() only when CONFIG_MMU is set

Since tcp_mmap() is defined when CONFIG_MMU is set.

Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h