Skip to content

Commit 8a1c8da

Browse files
committed
Add a comment
1 parent 71c729a commit 8a1c8da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

qemu/include/qemu/osdep.h

+2
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ struct uc_struct;
124124
*
125125
* Issue: https://github.com/desktop/desktop/issues/12978
126126
*/
127+
// Even if we don't have sprr available (mostly in virtual machine), we still need MAP_JIT though there is no
128+
// protection enforced.
127129
#if defined(__APPLE__) && defined(HAVE_PTHREAD_JIT_PROTECT) && (defined(__arm__) || defined(__aarch64__))
128130
#define USE_MAP_JIT
129131
#endif

0 commit comments

Comments
 (0)