Commit fa6ebfbb fa6ebfbbc2e007a161f3342e044b360b6f6f95e8 by Sergey Poznyakoff

(cond_page_invalidate): Bugfix

1 parent 31f9e897
...@@ -86,7 +86,7 @@ cond_page_invalidate (size_t value) ...@@ -86,7 +86,7 @@ cond_page_invalidate (size_t value)
86 86
87 if (page_map == NULL || page_avail == 0) 87 if (page_map == NULL || page_avail == 0)
88 return; 88 return;
89 for (i = 0; i < page_avail-1; i++) 89 for (i = 0; i < page_avail; i++)
90 if (page_map[i] >= value && value <= page_map[i+1]) 90 if (page_map[i] >= value && value <= page_map[i+1])
91 { 91 {
92 page_invalidate (0); 92 page_invalidate (0);
......