]> Git Repo - linux.git/blob - include/linux/net_mm.h
Merge branch 'mlxsw-maintain-candidate-rifs'
[linux.git] / include / linux / net_mm.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #ifdef CONFIG_MMU
3
4 #ifdef CONFIG_INET
5 extern const struct vm_operations_struct tcp_vm_ops;
6 static inline bool vma_is_tcp(const struct vm_area_struct *vma)
7 {
8         return vma->vm_ops == &tcp_vm_ops;
9 }
10 #else
11 static inline bool vma_is_tcp(const struct vm_area_struct *vma)
12 {
13         return false;
14 }
15 #endif /* CONFIG_INET*/
16
17 #endif /* CONFIG_MMU */
This page took 0.03487 seconds and 4 git commands to generate.