[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210621164920.3180672-1-willy@infradead.org>
Date: Mon, 21 Jun 2021 17:49:19 +0100
From: "Matthew Wilcox (Oracle)" <willy@...radead.org>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, netdev@...r.kernel.org
Cc: "Matthew Wilcox (Oracle)" <willy@...radead.org>,
linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>
Subject: [PATCH 1/2] net: Remove mm.h from 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@...radead.org>
---
include/linux/net.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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>
--
2.30.2
Powered by blists - more mailing lists