summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hutter <[email protected]>2020-01-22 10:00:42 -0800
committerTony Hutter <[email protected]>2020-01-22 13:49:07 -0800
commit9e36832d31b104d229eb8f979d57e6cf43fc0895 (patch)
treef11b0fe2c4fd3bd782bbd1f8893f2ceb084c40ac
parent504aae708e1dc5d949e2a0434deeec374a6abfe5 (diff)
Fix zfs-0.8.3 "qat.h"
This applies the patch from: https://github.com/zfsonlinux/zfs/issues/9476#issuecomment-543854498 ...which was originally from: 9fa8b5b QAT related bug fixes This allows QAT to build. Signed-off-by: Tony Hutter <[email protected]>
-rw-r--r--module/zfs/qat.c2
-rw-r--r--module/zfs/qat_compress.c2
-rw-r--r--module/zfs/qat_crypt.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/module/zfs/qat.c b/module/zfs/qat.c
index 08613b3a2..a6f024cb4 100644
--- a/module/zfs/qat.c
+++ b/module/zfs/qat.c
@@ -21,7 +21,7 @@
#if defined(_KERNEL) && defined(HAVE_QAT)
#include <sys/zfs_context.h>
-#include <sys/qat.h>
+#include "qat.h"
qat_stats_t qat_stats = {
{ "comp_requests", KSTAT_DATA_UINT64 },
diff --git a/module/zfs/qat_compress.c b/module/zfs/qat_compress.c
index 011358329..16649d60f 100644
--- a/module/zfs/qat_compress.c
+++ b/module/zfs/qat_compress.c
@@ -28,7 +28,7 @@
#include <sys/zfs_context.h>
#include <sys/byteorder.h>
#include <sys/zio.h>
-#include <sys/qat.h>
+#include "qat.h"
/*
* Max instances in a QAT device, each instance is a channel to submit
diff --git a/module/zfs/qat_crypt.c b/module/zfs/qat_crypt.c
index 1e77f143e..ec9f085cf 100644
--- a/module/zfs/qat_crypt.c
+++ b/module/zfs/qat_crypt.c
@@ -36,7 +36,7 @@
#include <sys/zio_crypt.h>
#include "lac/cpa_cy_im.h"
#include "lac/cpa_cy_common.h"
-#include <sys/qat.h>
+#include "qat.h"
/*
* Max instances in a QAT device, each instance is a channel to submit