diff options
author | Robert Morris <[email protected]> | 2016-08-11 15:41:53 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2016-08-11 15:41:53 -0400 |
commit | 9c65b32d9e8d84372e193ae2516b46d504d38263 (patch) | |
tree | 64f7f8d8e9b8e78b3fe722b78e00306beef76e73 /proc.c | |
parent | c779cc2be1ad47461bd48f386d8f8a5b58a85f42 (diff) | |
download | xv6-labs-9c65b32d9e8d84372e193ae2516b46d504d38263.tar.gz xv6-labs-9c65b32d9e8d84372e193ae2516b46d504d38263.tar.bz2 xv6-labs-9c65b32d9e8d84372e193ae2516b46d504d38263.zip |
nothing much
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -283,7 +283,7 @@ scheduler(void) proc = p; switchuvm(p); p->state = RUNNING; - swtch(&cpu->scheduler, proc->context); + swtch(&cpu->scheduler, p->context); switchkvm(); // Process is done running for now. |