Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/percpu: percpu: update comments to reflect that percpu allocations are always zero-filled percpu: Optimize __get_cpu_var() x86, percpu: Optimize this_cpu_ptr percpu: clear memory allocated with the km allocator percpu: fix build breakage on s390 and cleanup build configuration tests percpu: use percpu allocator on UP too percpu: reduce PCPU_MIN_UNIT_SIZE to 32k vmalloc: pcpu_get/free_vm_areas() aren't needed on UP Fixed up trivial conflicts in include/linux/percpu.h
This commit is contained in:
@ -2065,6 +2065,7 @@ void free_vm_area(struct vm_struct *area)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(free_vm_area);
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
static struct vmap_area *node_to_va(struct rb_node *n)
|
||||
{
|
||||
return n ? rb_entry(n, struct vmap_area, rb_node) : NULL;
|
||||
@ -2345,6 +2346,7 @@ void pcpu_free_vm_areas(struct vm_struct **vms, int nr_vms)
|
||||
free_vm_area(vms[i]);
|
||||
kfree(vms);
|
||||
}
|
||||
#endif /* CONFIG_SMP */
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
static void *s_start(struct seq_file *m, loff_t *pos)
|
||||
|
Reference in New Issue
Block a user