diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-20 23:11:24 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-20 23:11:24 +0100 |
commit | 1739a3f1720f0b4a049ef51cbf5ab938792bef56 (patch) | |
tree | bbc422f0cccab3261daf1524228a97cd6d319222 | |
parent | 078357046b1fafaf256776ae3aecdbd9dc6b8586 (diff) |
kern/rcu: fix !SMP builds
-rw-r--r-- | kern/rcu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -767,7 +767,7 @@ INIT_OP_DEFINE(rcu_bootstrap, static int __init rcu_setup(void) { - for (size_t i = 1; i < cpu_count(); i++) { + for (unsigned int i = 1; i < cpu_count(); i++) { rcu_cpu_data_init(percpu_ptr(rcu_cpu_data, i), i); } |