summaryrefslogtreecommitdiff
path: root/kernel/spinlock.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2019-07-23 11:14:10 -0400
committerRobert Morris <[email protected]>2019-07-23 11:14:10 -0400
commit55bc96d4190e40704fb5e447cef9597b08b8f088 (patch)
treec418a737973e8f4371fb9c9d488ecb988db87d36 /kernel/spinlock.c
parentb8a31c494cb535d9eb3e4c1971c4c9020c27c239 (diff)
downloadxv6-labs-55bc96d4190e40704fb5e447cef9597b08b8f088.tar.gz
xv6-labs-55bc96d4190e40704fb5e447cef9597b08b8f088.tar.bz2
xv6-labs-55bc96d4190e40704fb5e447cef9597b08b8f088.zip
a few core -> CPU
get rid of PDF generating support
Diffstat (limited to 'kernel/spinlock.c')
-rw-r--r--kernel/spinlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/spinlock.c b/kernel/spinlock.c
index 83512bb..563532e 100644
--- a/kernel/spinlock.c
+++ b/kernel/spinlock.c
@@ -52,7 +52,7 @@ release(struct spinlock *lk)
// Tell the C compiler and the CPU to not move loads or stores
// past this point, to ensure that all the stores in the critical
- // section are visible to other cores before the lock is released.
+ // section are visible to other CPUs before the lock is released.
// On RISC-V, this turns into a fence instruction.
__sync_synchronize();