[Accel-config] [PATCH 2/2] accel-config: Change path of idxd.h to local copy

ramesh.thomas at intel.com
Newsgroups dev.linux.lists.accel-config
Message-ID <[email protected]>
From: Ramesh Thomas <ramesh.thomas(a)intel.com>

Change path of idxd.h includes from /usr/include to accfg.

Signed-off-by: Ramesh Thomas <ramesh.thomas(a)intel.com>
---
 accfg/lib/libaccfg.c | 2 +-
 test/dsa.c           | 2 +-
 test/dsa.h           | 2 +-
 test/libaccfg.c      | 2 +-
 test/prep.c          | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/accfg/lib/libaccfg.c b/accfg/lib/libaccfg.c
index f21cab5..5b63b62 100644
--- a/accfg/lib/libaccfg.c
+++ b/accfg/lib/libaccfg.c
@@ -27,7 +27,7 @@
 #include <accfg/libaccel_config.h>
 #include <fnmatch.h>
 #include "private.h"
-#include <linux/idxd.h>
+#include <accfg/idxd.h>
 
 #define MDEV_POSTFIX "mdev_supported_types"
 #define IDXD_DRIVER_BIND_PATH "/sys/bus/dsa/drivers/idxd"
diff --git a/test/dsa.c b/test/dsa.c
index d8dd081..5396b1b 100644
--- a/test/dsa.c
+++ b/test/dsa.c
@@ -13,7 +13,7 @@
 #include <sys/mman.h>
 #include <linux/vfio.h>
 #include <accfg/libaccel_config.h>
-#include <linux/idxd.h>
+#include <accfg/idxd.h>
 #include "dsa.h"
 
 #define DSA_COMPL_RING_SIZE 64
diff --git a/test/dsa.h b/test/dsa.h
index 4dac780..4e3cddc 100644
--- a/test/dsa.h
+++ b/test/dsa.h
@@ -3,7 +3,7 @@
 #ifndef __TEST_DSA_H__
 #define __TEST_DSA_H__
 #include <accfg/libaccel_config.h>
-#include <linux/idxd.h>
+#include <accfg/idxd.h>
 #include "accfg_test.h"
 
 #define MAX_PATH_LENGTH 1024
diff --git a/test/libaccfg.c b/test/libaccfg.c
index 1816f8e..57d97f2 100644
--- a/test/libaccfg.c
+++ b/test/libaccfg.c
@@ -27,7 +27,7 @@
 #include <ccan/array_size/array_size.h>
 #include <accfg/libaccel_config.h>
 #include <test.h>
-#include <linux/idxd.h>
+#include <accfg/idxd.h>
 #include <util/log.h>
 #include "accfg_test.h"
 
diff --git a/test/prep.c b/test/prep.c
index ce5a3a6..bb06626 100644
--- a/test/prep.c
+++ b/test/prep.c
@@ -5,7 +5,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
-#include <linux/idxd.h>
+#include <accfg/idxd.h>
 #include "dsa.h"
 
 void dsa_prep_desc_common(struct dsa_hw_desc *hw, char opcode,
-- 
2.26.3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.