valid flag is added

This commit is contained in:
Taku Shimosawa
2011-12-02 14:00:12 +09:00
parent e42395e42a
commit 00107164b3
6 changed files with 27 additions and 5 deletions

View File

@@ -221,7 +221,7 @@ void schedule(void)
if (switch_ctx) {
kprintf("schedule: %p (%p) => %p (%p) \n", prev,
prev->page_table, next, next->page_table);
prev ? prev->page_table : NULL, next, next->page_table);
aal_mc_load_page_table(next->page_table);
if (prev) {