Skip to content

Commit 78ea3c8

Browse files
committed
Fix m1 defines
1 parent a4ba7c9 commit 78ea3c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qemu/accel/tcg/translate-all.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2171,7 +2171,7 @@ void tcg_flush_softmmu_tlb(struct uc_struct *uc)
21712171
}
21722172

21732173

2174-
#ifdef HAVE_PTHREAD_JIT_PROTECT
2174+
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
21752175
static bool tb_exec_is_locked(struct uc_struct *uc)
21762176
{
21772177
return uc->current_executable;

0 commit comments

Comments
 (0)