[PATCH 06/12] headers: fs.h vs cgroup.h

From: Alexey Dobriyan
Date: Fri Jun 20 2014 - 19:03:15 EST


---
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h | 1 +
include/linux/cgroup.h | 3 ++-
include/linux/netpoll.h | 1 +
include/net/sock.h | 1 +
4 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
index 4cab09d..7cd1f1b 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
@@ -19,6 +19,7 @@
#include <linux/dma-mapping.h>
#include <linux/types.h>
#include <linux/pci_regs.h>
+#include <linux/semaphore.h>

/* compilation time flags */

diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h
index 8a111dd..63f25ab 100644
--- a/include/linux/cgroup.h
+++ b/include/linux/cgroup.h
@@ -17,16 +17,17 @@
#include <linux/rwsem.h>
#include <linux/idr.h>
#include <linux/workqueue.h>
-#include <linux/fs.h>
#include <linux/percpu-refcount.h>
#include <linux/seq_file.h>
#include <linux/kernfs.h>
#include <linux/wait.h>
+#include <uapi/linux/limits.h>

#ifdef CONFIG_CGROUPS

struct cgroup_root;
struct cgroup_subsys;
+struct dentry;
struct inode;
struct cgroup;

diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index b25ee9f..a51b4de 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -10,6 +10,7 @@
#include <linux/netdevice.h>
#include <linux/interrupt.h>
#include <linux/rcupdate.h>
+#include <linux/semaphore.h>
#include <linux/list.h>

union inet_addr {
diff --git a/include/net/sock.h b/include/net/sock.h
index 173cae4..3c38716 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -61,6 +61,7 @@
#include <linux/sched.h>

#include <linux/filter.h>
+#include <linux/fs.h>
#include <linux/rculist_nulls.h>
#include <linux/poll.h>

--
1.8.5.5


--u3/rZRmxL6MmkK24
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0007-headers-fs.h-vs-perf_event.h.patch"