summaryrefslogtreecommitdiff
path: root/kern/percpu.h
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-01-16 01:19:39 +0100
committerRichard Braun <rbraun@sceen.net>2018-01-16 01:19:39 +0100
commit884e2de718cc47bb9e5200d866f41c88e74ba3c0 (patch)
tree2ce6135ec2c48872a34dbf133a3f16ea8a6159ed /kern/percpu.h
parent1aa9bbc070f95949419818682d4fcd628b2c3cf0 (diff)
kern/percpu: improve initop descriptions and fix dependencies
Diffstat (limited to 'kern/percpu.h')
-rw-r--r--kern/percpu.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/kern/percpu.h b/kern/percpu.h
index b196acbe..5c5748a7 100644
--- a/kern/percpu.h
+++ b/kern/percpu.h
@@ -106,13 +106,16 @@ int percpu_add(unsigned int cpu);
/*
* This init operation provides :
- * - percpu section is registered as the BSP percpu area
+ * - access to percpu variables on processor 0
*/
INIT_OP_DECLARE(percpu_bootstrap);
/*
* This init operation provides :
* - new percpu areas can be created
+ *
+ * The dependency that provides access to percpu variables on all processors
+ * is cpu_mp_probe.
*/
INIT_OP_DECLARE(percpu_setup);