summaryrefslogtreecommitdiff
path: root/kern/llsync_i.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2013-05-24 20:24:01 +0200
committerRichard Braun <rbraun@sceen.net>2013-05-24 20:25:09 +0200
commit4b7bab60037521dee5f1338db809a22a9fd8acd0 (patch)
tree12aae80ee7adea0941ee362082aecba3f29ece18 /kern/llsync_i.h
parent8be42c8a1a104aed546ed09e17752b4c486b98e7 (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.h2
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;