summaryrefslogtreecommitdiff
path: root/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/proc.h')
-rw-r--r--kernel/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/proc.h b/kernel/proc.h
index 02e7bc3..c257eb7 100644
--- a/kernel/proc.h
+++ b/kernel/proc.h
@@ -21,7 +21,7 @@ struct context {
// Per-CPU state.
struct cpu {
struct proc *proc; // The process running on this cpu, or null.
- struct context scheduler; // swtch() here to enter scheduler().
+ struct context context; // swtch() here to enter scheduler().
int noff; // Depth of push_off() nesting.
int intena; // Were interrupts enabled before push_off()?
};