Re: [PATCH net-next] tcp: declare tcp_mmap() only when CONFIG_MMU is set
From: Yafang Shao Date: Thu, 17 Jan 2019 18:03:14 +0800 > Since tcp_mmap() is defined when CONFIG_MMU is set. > > Signed-off-by: Yafang Shao Applied.
[PATCH net-next] 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 --- include/net/tcp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net/tcp.h b/include/net/tcp.h index e0a65c0..5c95018 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -406,8 +406,10 @@ int