diff options
author | Tim Schmielau <tim@physik3.uni-rostock.de> | 2005-11-07 03:59:43 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:41 -0500 |
commit | 8c65b4a60450590e79a28e9717ceffa9e4debb3f (patch) | |
tree | e0e42b5faee0a1c44746a36d9df7a8fbb2a2c24c /drivers/infiniband | |
parent | 6fdcc2162285a8fc96ab12ff85086c37bceaa494 (diff) |
[PATCH] fix remaining missing includes
Fix more include file problems that surfaced since I submitted the previous
fix-missing-includes.patch. This should now allow not to include sched.h
from module.h, which is done by a followup patch.
Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/core/agent.c | 3 | ||||
-rw-r--r-- | drivers/infiniband/core/packer.c | 2 | ||||
-rw-r--r-- | drivers/infiniband/core/sysfs.c | 3 | ||||
-rw-r--r-- | drivers/infiniband/core/ud_header.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/core/verbs.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_catas.c | 3 | ||||
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_srq.c | 3 |
7 files changed, 16 insertions, 0 deletions
diff --git a/drivers/infiniband/core/agent.c b/drivers/infiniband/core/agent.c index 7545775d38ef..34b724afd28d 100644 --- a/drivers/infiniband/core/agent.c +++ b/drivers/infiniband/core/agent.c | |||
@@ -37,6 +37,9 @@ | |||
37 | * $Id: agent.c 1389 2004-12-27 22:56:47Z roland $ | 37 | * $Id: agent.c 1389 2004-12-27 22:56:47Z roland $ |
38 | */ | 38 | */ |
39 | 39 | ||
40 | #include <linux/slab.h> | ||
41 | #include <linux/string.h> | ||
42 | |||
40 | #include "agent.h" | 43 | #include "agent.h" |
41 | #include "smi.h" | 44 | #include "smi.h" |
42 | 45 | ||
diff --git a/drivers/infiniband/core/packer.c b/drivers/infiniband/core/packer.c index 35df5010e723..c972d7235764 100644 --- a/drivers/infiniband/core/packer.c +++ b/drivers/infiniband/core/packer.c | |||
@@ -33,6 +33,8 @@ | |||
33 | * $Id: packer.c 1349 2004-12-16 21:09:43Z roland $ | 33 | * $Id: packer.c 1349 2004-12-16 21:09:43Z roland $ |
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/string.h> | ||
37 | |||
36 | #include <rdma/ib_pack.h> | 38 | #include <rdma/ib_pack.h> |
37 | 39 | ||
38 | static u64 value_read(int offset, int size, void *structure) | 40 | static u64 value_read(int offset, int size, void *structure) |
diff --git a/drivers/infiniband/core/sysfs.c b/drivers/infiniband/core/sysfs.c index b8120650e711..08648b1a387e 100644 --- a/drivers/infiniband/core/sysfs.c +++ b/drivers/infiniband/core/sysfs.c | |||
@@ -36,6 +36,9 @@ | |||
36 | 36 | ||
37 | #include "core_priv.h" | 37 | #include "core_priv.h" |
38 | 38 | ||
39 | #include <linux/slab.h> | ||
40 | #include <linux/string.h> | ||
41 | |||
39 | #include <rdma/ib_mad.h> | 42 | #include <rdma/ib_mad.h> |
40 | 43 | ||
41 | struct ib_port { | 44 | struct ib_port { |
diff --git a/drivers/infiniband/core/ud_header.c b/drivers/infiniband/core/ud_header.c index 527b23450ab3..997c07db6d8f 100644 --- a/drivers/infiniband/core/ud_header.c +++ b/drivers/infiniband/core/ud_header.c | |||
@@ -34,6 +34,7 @@ | |||
34 | */ | 34 | */ |
35 | 35 | ||
36 | #include <linux/errno.h> | 36 | #include <linux/errno.h> |
37 | #include <linux/string.h> | ||
37 | 38 | ||
38 | #include <rdma/ib_pack.h> | 39 | #include <rdma/ib_pack.h> |
39 | 40 | ||
diff --git a/drivers/infiniband/core/verbs.c b/drivers/infiniband/core/verbs.c index 72d3ef786db5..4186cc888ea5 100644 --- a/drivers/infiniband/core/verbs.c +++ b/drivers/infiniband/core/verbs.c | |||
@@ -40,6 +40,7 @@ | |||
40 | 40 | ||
41 | #include <linux/errno.h> | 41 | #include <linux/errno.h> |
42 | #include <linux/err.h> | 42 | #include <linux/err.h> |
43 | #include <linux/string.h> | ||
43 | 44 | ||
44 | #include <rdma/ib_verbs.h> | 45 | #include <rdma/ib_verbs.h> |
45 | #include <rdma/ib_cache.h> | 46 | #include <rdma/ib_cache.h> |
diff --git a/drivers/infiniband/hw/mthca/mthca_catas.c b/drivers/infiniband/hw/mthca/mthca_catas.c index 7ac52af43b99..25ebab64bc42 100644 --- a/drivers/infiniband/hw/mthca/mthca_catas.c +++ b/drivers/infiniband/hw/mthca/mthca_catas.c | |||
@@ -32,6 +32,9 @@ | |||
32 | * $Id$ | 32 | * $Id$ |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include <linux/jiffies.h> | ||
36 | #include <linux/timer.h> | ||
37 | |||
35 | #include "mthca_dev.h" | 38 | #include "mthca_dev.h" |
36 | 39 | ||
37 | enum { | 40 | enum { |
diff --git a/drivers/infiniband/hw/mthca/mthca_srq.c b/drivers/infiniband/hw/mthca/mthca_srq.c index 292f55be8cbd..26d5161fde07 100644 --- a/drivers/infiniband/hw/mthca/mthca_srq.c +++ b/drivers/infiniband/hw/mthca/mthca_srq.c | |||
@@ -32,6 +32,9 @@ | |||
32 | * $Id: mthca_srq.c 3047 2005-08-10 03:59:35Z roland $ | 32 | * $Id: mthca_srq.c 3047 2005-08-10 03:59:35Z roland $ |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #include <linux/slab.h> | ||
36 | #include <linux/string.h> | ||
37 | |||
35 | #include "mthca_dev.h" | 38 | #include "mthca_dev.h" |
36 | #include "mthca_cmd.h" | 39 | #include "mthca_cmd.h" |
37 | #include "mthca_memfree.h" | 40 | #include "mthca_memfree.h" |