Skip to content

Commit 8c25d1d

Browse files
liuxiang88janekmi
authored andcommitted
common: fix compilation error on LoongArch
Signed-off-by: liuxiang <[email protected]>
1 parent 8a433e9 commit 8c25d1d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ XXX
33
* Version X.X.X
44

55
- Fix an issue in the PMEMOBJ allocator with a potential to corrupt the allocator's metadata (daos-stack/pmdk#24, DAOS-18195).
6+
- Fix compilation error on LoongArch. Thank you @liuxiang88 and @bgermann for your persistence in making it happen! (daos-stack/pmdk#29, pmem/pmdk#5957).
67

78
Tue Nov 4 2025 Oksana Sałyk <[email protected]>
89

src/libpmem2/loongarch64/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ pmem2_arch_init(struct pmem2_arch_info *info)
3636
{
3737
LOG(3, NULL);
3838

39-
info->fence = loongarch_fence;
39+
info->fence = loongarch_memory_fence;
4040
info->flush = loongarch_flush;
4141
}

0 commit comments

Comments
 (0)