void __init rcu_init(void) { int i; __rcu_init(); cpu_notifier(rcu_barrier_cpu_hotplug, 0); /* * We don't need protection against CPU-hotplug here because * this is called early in boot, before either interrupts * or the scheduler are operational. */ for_each_online_cpu(i) rcu_barrier_cpu_hotplug(NULL, CPU_UP_PREPARE, (void *)(long)i); }
void __init rcu_init(void) { __rcu_init(); }