[packages/qatlib] - added x32 fix to types patch

qboosh qboosh at pld-linux.org
Fri Feb 18 19:10:48 CET 2022


commit 5e436f7afd2a0370f00583298be12f362d983ea6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 18 19:12:32 2022 +0100

    - added x32 fix to types patch

 qatlib-types.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/qatlib-types.patch b/qatlib-types.patch
index 2a0f18d..66d09dd 100644
--- a/qatlib-types.patch
+++ b/qatlib-types.patch
@@ -20,3 +20,14 @@
      if (pMemInfo->virt_addr == MAP_FAILED)
      {
          osalStdLog("Errno: %d\n", errno);
+--- qatlib-21.11.0/quickassist/lookaside/access_layer/src/qat_direct/common/include/adf_platform_common.h.orig	2021-11-10 12:34:59.000000000 +0100
++++ qatlib-21.11.0/quickassist/lookaside/access_layer/src/qat_direct/common/include/adf_platform_common.h	2022-02-18 19:03:24.647814496 +0100
+@@ -176,7 +176,7 @@
+  *     xx refers to arch, i.e.64bit or 32bit
+  *     yy refers to number of bytes copied from src to dst, i.e. 64 or 128 bytes
+  */
+-#ifdef __x86_64__
++#ifdef __LP64__
+ #define adf_memcpy64_64(dst, src)                                              \
+     do                                                                         \
+     {                                                                          \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qatlib.git/commitdiff/5e436f7afd2a0370f00583298be12f362d983ea6



More information about the pld-cvs-commit mailing list