[openib-general] [PATCH] Restore needed #include to mad.c

Roland Dreier roland at topspin.com
Thu Mar 17 09:00:05 PST 2005


If we don't include <linux/dma-mapping.h>, mad.c won't compile on
e.g. sparc64.

Signed-off-by: Roland Dreier <roland at topspin.com>

Index: infiniband/core/mad.c
===================================================================
--- infiniband/core/mad.c	(revision 2016)
+++ infiniband/core/mad.c	(working copy)
@@ -32,6 +32,8 @@
  * $Id$
  */
 
+#include <linux/dma-mapping.h>
+
 #include "mad_priv.h"
 #include "smi.h"
 #include "agent.h"



More information about the general mailing list