Skip to content

Commit 5d2298b

Browse files
authored
Fix exec page issues when threads are disabled (#175)
1 parent e8de198 commit 5d2298b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

blink/memorymalloc.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ bool IsValidAddrSize(i64 virt, i64 size) {
484484
}
485485

486486
void InvalidateSystem(struct System *s, bool tlb, bool icache) {
487-
#ifdef HAVE_THREADS
488487
struct Dll *e;
489488
struct Machine *m;
490489
if (tlb || icache) {
@@ -501,7 +500,6 @@ void InvalidateSystem(struct System *s, bool tlb, bool icache) {
501500
}
502501
UNLOCK(&s->machines_lock);
503502
}
504-
#endif
505503
}
506504

507505
struct FileMap *AddFileMap(struct System *s, i64 virt, i64 size,

0 commit comments

Comments
 (0)