diff options
Diffstat (limited to 'kernel/spinlock.c')
-rw-r--r-- | kernel/spinlock.c | 2 |
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(); |