diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-24 20:24:01 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-24 20:25:09 +0200 |
commit | 4b7bab60037521dee5f1338db809a22a9fd8acd0 (patch) | |
tree | 12aae80ee7adea0941ee362082aecba3f29ece18 /kern/llsync_i.h | |
parent | 8be42c8a1a104aed546ed09e17752b4c486b98e7 (diff) |
kern/llsync: disable interrupts on per-CPU data access
Not strictly required, but makes things simpler at virtually no cost.
Diffstat (limited to 'kern/llsync_i.h')
-rw-r--r-- | kern/llsync_i.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kern/llsync_i.h b/kern/llsync_i.h index 034e368b..c0ba1a39 100644 --- a/kern/llsync_i.h +++ b/kern/llsync_i.h @@ -22,6 +22,8 @@ /* * Per-processor data. + * + * Interrupts must be disabled on access. */ struct llsync_cpu { int registered; |