summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2015-09-30 12:42:34 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2015-09-30 12:46:21 +0300
commitb78c17c64c44a6d3a34e8836e5181e125625bd7c (patch)
treea405b39df53a821a28ba383af755ef32505d3401
parentab6f751dad4097160139a4ad2db5426a2311eb8c (diff)
Fix include paths in source files
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
-rw-r--r--hsakmt/debug.c2
-rw-r--r--hsakmt/events.c2
-rw-r--r--hsakmt/fmm.c2
-rw-r--r--hsakmt/libhsakmt.h1
-rw-r--r--hsakmt/memory.c2
-rw-r--r--hsakmt/perfctr.c2
-rw-r--r--hsakmt/queues.c2
-rw-r--r--hsakmt/time.c2
-rw-r--r--hsakmt/version.c2
9 files changed, 9 insertions, 8 deletions
diff --git a/hsakmt/debug.c b/hsakmt/debug.c
index 46f72e7..2fd1c04 100644
--- a/hsakmt/debug.c
+++ b/hsakmt/debug.c
@@ -24,7 +24,7 @@
*/
#include "libhsakmt.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
#include <stdlib.h>
#include <string.h>
diff --git a/hsakmt/events.c b/hsakmt/events.c
index 5d6835e..53bf3c4 100644
--- a/hsakmt/events.c
+++ b/hsakmt/events.c
@@ -30,7 +30,7 @@
#include <errno.h>
#include <unistd.h>
#include <sys/mman.h>
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
static HSAuint64 *events_page = NULL;
diff --git a/hsakmt/fmm.c b/hsakmt/fmm.c
index a90fb95..4a76417 100644
--- a/hsakmt/fmm.c
+++ b/hsakmt/fmm.c
@@ -24,7 +24,7 @@
*/
#include "fmm.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
#include "libhsakmt.h"
#include <stdlib.h>
#include <stdio.h>
diff --git a/hsakmt/libhsakmt.h b/hsakmt/libhsakmt.h
index 0d73c8f..1bc7bae 100644
--- a/hsakmt/libhsakmt.h
+++ b/hsakmt/libhsakmt.h
@@ -27,6 +27,7 @@
#define LIBHSAKMT_H_INCLUDED
#include "hsakmt.h"
+#include "hsakmt-version.h"
#include <pthread.h>
#include <stdint.h>
#include <limits.h>
diff --git a/hsakmt/memory.c b/hsakmt/memory.c
index 718dd97..39f852e 100644
--- a/hsakmt/memory.c
+++ b/hsakmt/memory.c
@@ -24,7 +24,7 @@
*/
#include "libhsakmt.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/hsakmt/perfctr.c b/hsakmt/perfctr.c
index 64ab168..9debc8e 100644
--- a/hsakmt/perfctr.c
+++ b/hsakmt/perfctr.c
@@ -26,7 +26,7 @@
#include <stdlib.h>
#include "libhsakmt.h"
#include "pmc_table.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
#include <unistd.h>
#define BITS_PER_BYTE CHAR_BIT
diff --git a/hsakmt/queues.c b/hsakmt/queues.c
index 2d7692f..1027e30 100644
--- a/hsakmt/queues.c
+++ b/hsakmt/queues.c
@@ -24,7 +24,7 @@
*/
#include "libhsakmt.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
diff --git a/hsakmt/time.c b/hsakmt/time.c
index 45709f9..5ba6be0 100644
--- a/hsakmt/time.c
+++ b/hsakmt/time.c
@@ -24,7 +24,7 @@
*/
#include "libhsakmt.h"
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
HSAKMT_STATUS
HSAKMTAPI
diff --git a/hsakmt/version.c b/hsakmt/version.c
index 95bfec6..44b390c 100644
--- a/hsakmt/version.c
+++ b/hsakmt/version.c
@@ -26,7 +26,7 @@
#include "libhsakmt.h"
#include <stdlib.h>
#include <string.h>
-#include "linux/kfd_ioctl.h"
+#include "kfd_ioctl.h"
HSAKMT_STATUS
HSAKMTAPI