Message ID | 20210621164920.3180672-1-willy@infradead.org |
---|---|
State | New |
Headers | show |
Series | [1/2] net: Remove mm.h from net.h | expand |
diff --git a/include/linux/net.h b/include/linux/net.h index ba736b457a06..f54c8f478f3e 100644 --- a/include/linux/net.h +++ b/include/linux/net.h @@ -21,7 +21,7 @@ #include <linux/rcupdate.h> #include <linux/once.h> #include <linux/fs.h> -#include <linux/mm.h> +#include <linux/page_ref.h> #include <linux/sockptr.h> #include <uapi/linux/net.h>
We only need page_ref.h here (which provides page_count() directly and PageSlab() by pulling in page-flags.h) Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> --- include/linux/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)