summaryrefslogtreecommitdiffstats
path: root/recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch
diff options
context:
space:
mode:
authorYongxin Liu <yongxin.liu@windriver.com>2021-04-12 16:24:37 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2021-04-14 13:30:21 +0800
commitba8f6ba46896eab6653a5aa9b4e8dd94e3440c7b (patch)
treec5ee395b40bf5a8836f76be59a0db92a4f0f5e9d /recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch
parent62bf74ca2e504e4287a34ccab68297efa16bd481 (diff)
downloadmeta-intel-qat-ba8f6ba46896eab6653a5aa9b4e8dd94e3440c7b.tar.gz
qat16: remove recipe for qat16
qat16 is not maintained for a long time. It seems noboby is using it now. Removed patches: 0001-OsalServices-Only-use-bits-time-with-GLIBC.patch qat16-Osal-fix-build-with-x32.patch qat16_2.3.0-34-make-sure-CFLAGS-are-correct.patch qat16_2.3.0-34-qat-fix-for-cross-compilation-issue.patch qat16_2.5.0-80-qat-Added-include-dir-path.patch qat16_2.5.0-80-qat-change-in-return-type-of-func-in-kernel-v4.4.patch qat16_2.6.0-65-qat-add-install-target-to-makefiles.patch Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch')
-rw-r--r--recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch53
1 files changed, 0 insertions, 53 deletions
diff --git a/recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch b/recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch
deleted file mode 100644
index 2f794ce..0000000
--- a/recipes-extended/qat/files/qat16-Osal-fix-build-with-x32.patch
+++ /dev/null
@@ -1,53 +0,0 @@
1From 8da85286efc86b4f5bbf14f755c84d1982841973 Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Wed, 3 Jan 2018 15:45:59 +0800
4Subject: [PATCH] Osal: fix build with x32
5
6x32 follows ILP32 model and has __x86_64__ defined too. Make sure
7that we check for ILP32 also before using architecture dependent
8types.
9
10Upstream-Status: Accepted [Code released in tarball form only]
11
12Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
13---
14 quickassist/adf/platform/include/adf_platform_common.h | 2 +-
15 quickassist/utilities/osal/include/OsalTypes.h | 4 ++--
16 2 files changed, 3 insertions(+), 3 deletions(-)
17
18diff --git a/quickassist/adf/platform/include/adf_platform_common.h b/quickassist/adf/platform/include/adf_platform_common.h
19index 8673ec1..de5c31a 100755
20--- a/quickassist/adf/platform/include/adf_platform_common.h
21+++ b/quickassist/adf/platform/include/adf_platform_common.h
22@@ -207,7 +207,7 @@
23 * xx refers to arch, i.e.64bit or 32bit
24 * yy refers to number of bytes copied from src to dst, i.e. 64 or 128 bytes
25 */
26-#ifdef __x86_64__
27+#if (defined (__x86_64__) && !defined (__ILP32__))
28 #define adf_memcpy64_64(dst, src)\
29 do { \
30 __asm__ __volatile__ ( \
31diff --git a/quickassist/utilities/osal/include/OsalTypes.h b/quickassist/utilities/osal/include/OsalTypes.h
32index d8fa1d9..eaf08bf 100755
33--- a/quickassist/utilities/osal/include/OsalTypes.h
34+++ b/quickassist/utilities/osal/include/OsalTypes.h
35@@ -160,13 +160,13 @@ typedef volatile INT32 VINT32;
36 */
37 #define OSAL_HUNDRED (100)
38
39-#ifdef __x86_64__
40+#if (defined (__x86_64__) && !defined (__ILP32__))
41 #define ARCH_INT INT64
42 #else
43 #define ARCH_INT INT32
44 #endif
45
46-#ifdef __x86_64__
47+#if (defined (__x86_64__) && !defined (__ILP32__))
48 #define UARCH_INT UINT64
49 #else
50 #define UARCH_INT UINT32
51--
522.7.4
53