Browse Source

fix compile on linux

remotes/1785372757367212240/tmp_refs/heads/variable-page-size
Exverge 1 month ago
parent
commit
f8d0bd8ff8
No known key found for this signature in database GPG Key ID: DAD399BCC5FB77E4
  1. 2
      src/core/arm/nce/arm_nce.cpp

2
src/core/arm/nce/arm_nce.cpp

@ -605,7 +605,7 @@ void ArmNce::SignalInterrupt(Kernel::KThread* thread) {
// We should signal to the running thread.
// The running thread will unlock the thread context.
#if defined(__linux__)
syscall(SYS_tkill, m_thread_id, BreakFromRunCodeSignal);
syscall(SYS_tkill, m_thread_id, SIGURG); // BreakFromRunCodeSignal
#elif defined(__APPLE__)
asm volatile(
"mov x0, %0\n" // m_thread_id

Loading…
Cancel
Save