Commit:     bfb3ea125174813cdf87b1120caf0c9bd580283e
Parent:     e8b398deb73b4a0c3d636f2146c9f35f8eac6d88
Author:     Dotan Barak <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 31 16:49:15 2007 +0300
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Fri Aug 3 10:45:18 2007 -0700

    IB: Include <linux/list.h> and <linux/rwsem.h> from <rdma/ib_verbs.h>
    ib_verbs.h uses struct list_head and rw_semaphore, so while the files
    <linux/list.h> and <linux/rwsem.h> seem to be pulled in indirectly by
    the other header files it includes, the right thing is to include
    those files directly.
    Signed-off-by: Dotan Barak <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 include/rdma/ib_verbs.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h
index 0627a6a..7a99f11 100644
--- a/include/rdma/ib_verbs.h
+++ b/include/rdma/ib_verbs.h
@@ -46,6 +46,8 @@
 #include <linux/mm.h>
 #include <linux/dma-mapping.h>
 #include <linux/kref.h>
+#include <linux/list.h>
+#include <linux/rwsem.h>
 #include <asm/atomic.h>
 #include <asm/scatterlist.h>
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to