Source: pmdk
Version: 1.13.1-1.1
Tags: patch
Followup-For: Bug #1074301
X-Debbugs-Cc: wuruil...@loongson.cn
User: debian-loonga...@lists.debian.org
Usertags: loong64

Dear Maintainer,

Now it turns out that a single line of code change can pick loongarch to 
compile the pmdk code. Please merge the attached latest patch.

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
Description: Autogenerated patch header for a single-debian-patch file.
 The delta against upstream is either kept as a single patch, or maintained
 in some VCS, and exported as a single patch instead of more manageable
 atomic patches.
Forwarded: not-needed

---
--- pmdk-1.13.1.orig/src/libpmem2/loongarch64/init.c
+++ pmdk-1.13.1/src/libpmem2/loongarch64/init.c
@@ -36,6 +36,6 @@ pmem2_arch_init(struct pmem2_arch_info *
 {
        LOG(3, NULL);
 
-       info->fence = loongarch_fence;
+       info->fence = loongarch_memory_fence;
        info->flush = loongarch_flush;
 }

Reply via email to