Re: [PATCH net-next] tcp: declare tcp_mmap() only when CONFIG_MMU is set

2019-01-18 Thread David Miller
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

2019-01-17 Thread Yafang Shao
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