Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation error on LoongArch. #5957

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liuxiang88
Copy link

@liuxiang88 liuxiang88 commented Jan 5, 2024

The compiler error on LoongArch machine is as follows:

../../src/../src/libpmem2/loongarch64/init.c: In function ‘pmem2_arch_init’: ../../src/../src/libpmem2/loongarch64/init.c:39:23: error: ‘loongarch_fence’ undeclared (first use in this function); did you mean ‘loongarch_flush’? 39 | info->fence = loongarch_fence; | ^~~~~~~~~~~~~~~ | loongarch_flush ../../src/../src/libpmem2/loongarch64/init.c:39:23: note: each undeclared identifier is reported only once for each function it appears in

This commit fixes the problem.


This change is Reviewable

Signed-off-by: liuxiang <liuxiang@loongson.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant