Module Name: src
Committed By: skrll
Date: Sat Apr 6 13:41:03 UTC 2024
Modified Files:
src/sys/arch/riscv/riscv: copy.S
Log Message:
Fix riscv32 build
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/riscv/riscv/copy.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/riscv/riscv/copy.S
diff -u src/sys/arch/riscv/riscv/copy.S:1.1 src/sys/arch/riscv/riscv/copy.S:1.2
--- src/sys/arch/riscv/riscv/copy.S:1.1 Sat Apr 6 10:08:54 2024
+++ src/sys/arch/riscv/riscv/copy.S Sat Apr 6 13:41:03 2024
@@ -118,6 +118,7 @@ ENTRY(_ucas_32)
END(_ucas_32)
+#ifdef _LP64
/*
* int _ucas_64(volatile uint64_t *ptr, uint64_t old,
* uint64_t new, uint64_t *ret)
@@ -156,3 +157,4 @@ ENTRY(_ucas_64)
li a0, EFAULT
ret
END(_ucas_64)
+#endif