Skip to content

Commit

Permalink
Fix exec page issues when threads are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
robalb committed Oct 16, 2024
1 parent e8de198 commit 93476dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions blink/memorymalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ bool IsValidAddrSize(i64 virt, i64 size) {
}

void InvalidateSystem(struct System *s, bool tlb, bool icache) {
#ifdef HAVE_THREADS
struct Dll *e;
struct Machine *m;
if (tlb || icache) {
Expand All @@ -501,7 +500,6 @@ void InvalidateSystem(struct System *s, bool tlb, bool icache) {
}
UNLOCK(&s->machines_lock);
}
#endif
}

struct FileMap *AddFileMap(struct System *s, i64 virt, i64 size,
Expand Down

0 comments on commit 93476dc

Please sign in to comment.