Messages in this thread Patch in this message | | | From | Peng Tao <> | Subject | [PATCH 06/39] staging/lustre/lnet: build Lustre with Intel OFED for Xeon Phi | Date | Fri, 15 Nov 2013 00:32:29 +0800 |
| |
From: Dmitry Eremin <dmitry.eremin@intel.com>
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 <dmitry.eremin@intel.com> Reviewed-by: Liang Zhen <liang.zhen@intel.com> Reviewed-by: Doug Oucharek <doug.s.oucharek@intel.com> Reviewed-by: Oleg Drokin <oleg.drokin@intel.com> Signed-off-by: Peng Tao <bergwolf@gmail.com> Signed-off-by: Andreas Dilger <andreas.dilger@intel.com> --- .../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 <eric@bartonsoftware.com> */ +#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
| |