Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/coreclr/pal/inc/unixasmmacrosriscv64.inc
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ C_FUNC(\Name\()_End):

.macro PROLOG_STACK_ALLOC Size
addi sp, sp, -\Size
.cfi_def_cfa sp,\Size
.endm

.macro EPILOG_STACK_FREE Size
addi sp, sp, \Size
.cfi_def_cfa sp,-\Size
.endm

.macro EPILOG_STACK_RESTORE
Expand Down
5 changes: 1 addition & 4 deletions src/coreclr/pal/src/include/pal/mutex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,9 @@ Miscellaneous
// involved. See https://github.com/dotnet/runtime/issues/10519.
// - On OSX, pthread robust mutexes were/are not available at the time of this writing. In case they are made available in the
// future, their use is disabled for compatibility.
// - On RISCV64 (with QEMU), pthread robust mutexes were/are not available at the time of this writing. In case they are made available in the
// future, their use is disabled for compatibility.
// TODO-RISCV64-CQ: Need to check on board (e.g. visionfive 2) in the future
#if HAVE_FULLY_FEATURED_PTHREAD_MUTEXES && \
HAVE_FUNCTIONAL_PTHREAD_ROBUST_MUTEXES && \
!(defined(__FreeBSD__) || defined(TARGET_OSX) || defined(TARGET_RISCV64))
!(defined(__FreeBSD__) || defined(TARGET_OSX))

#define NAMED_MUTEX_USE_PTHREAD_MUTEX 1
#else
Expand Down