From: Dmitry Eremin <[email protected]> The compilation of Lustre with Intel OFED for Xeon Phi failed because of missing include of pci-dma.h header file. In Linux kernel includes this file included automatically from pci.h but in Intel Xeon Phi headers it's not true. So, just add this include explicitly.
Lustre-change: http://review.whamcloud.com/7115 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3637 Signed-off-by: Dmitry Eremin <[email protected]> Reviewed-by: Liang Zhen <[email protected]> Reviewed-by: Doug Oucharek <[email protected]> Reviewed-by: Oleg Drokin <[email protected]> Signed-off-by: Peng Tao <[email protected]> Signed-off-by: Andreas Dilger <[email protected]> --- .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h index 938df0c..8cfd78b 100644 --- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h +++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.h @@ -38,6 +38,7 @@ * Author: Eric Barton <[email protected]> */ +#include <linux/version.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/mm.h> @@ -57,6 +58,7 @@ #include <linux/kmod.h> #include <linux/sysctl.h> #include <linux/pci.h> +#include <linux/pci-dma.h> #include <net/sock.h> #include <linux/in.h> -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

