From c2a8f3b79dc64ea8cc26cacd013cc54889f44768 Mon Sep 17 00:00:00 2001 From: Fiona Trahe Date: Wed, 13 Jun 2018 14:14:14 +0200 Subject: [PATCH] crypto/qat: move macro to common file QAT_64_BTYE_ALIGN_MASK macro is not specific to symmetric crypto, but it is common for other future services. Signed-off-by: Fiona Trahe Signed-off-by: Tomasz Jozwiak --- drivers/crypto/qat/qat_common.h | 2 ++ drivers/crypto/qat/qat_sym.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/qat/qat_common.h b/drivers/crypto/qat/qat_common.h index 8ecebe954f..db85d54827 100644 --- a/drivers/crypto/qat/qat_common.h +++ b/drivers/crypto/qat/qat_common.h @@ -15,6 +15,8 @@ */ #define QAT_SGL_MAX_NUMBER 16 +#define QAT_64_BTYE_ALIGN_MASK (~0x3f) + /* Intel(R) QuickAssist Technology device generation is enumerated * from one according to the generation of the device */ diff --git a/drivers/crypto/qat/qat_sym.h b/drivers/crypto/qat/qat_sym.h index e46448bd25..bdb672be43 100644 --- a/drivers/crypto/qat/qat_sym.h +++ b/drivers/crypto/qat/qat_sym.h @@ -9,8 +9,6 @@ #include "qat_common.h" -#define QAT_64_BTYE_ALIGN_MASK (~0x3f) - struct qat_sym_session; struct qat_sym_op_cookie { -- 2.20.1