aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/percpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/percpu.h')
-rw-r--r--include/linux/percpu.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index d3a38d687104..3ffd05e550de 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -104,16 +104,11 @@ extern struct pcpu_alloc_info * __init pcpu_alloc_alloc_info(int nr_groups,
104 int nr_units); 104 int nr_units);
105extern void __init pcpu_free_alloc_info(struct pcpu_alloc_info *ai); 105extern void __init pcpu_free_alloc_info(struct pcpu_alloc_info *ai);
106 106
107extern struct pcpu_alloc_info * __init pcpu_build_alloc_info(
108 size_t reserved_size, ssize_t dyn_size,
109 size_t atom_size,
110 pcpu_fc_cpu_distance_fn_t cpu_distance_fn);
111
112extern int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai, 107extern int __init pcpu_setup_first_chunk(const struct pcpu_alloc_info *ai,
113 void *base_addr); 108 void *base_addr);
114 109
115#ifdef CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK 110#ifdef CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK
116extern int __init pcpu_embed_first_chunk(size_t reserved_size, ssize_t dyn_size, 111extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
117 size_t atom_size, 112 size_t atom_size,
118 pcpu_fc_cpu_distance_fn_t cpu_distance_fn, 113 pcpu_fc_cpu_distance_fn_t cpu_distance_fn,
119 pcpu_fc_alloc_fn_t alloc_fn, 114 pcpu_fc_alloc_fn_t alloc_fn,