aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/percpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/percpu.h b/include/linux/percpu.h
index 8ce91af4aa19..e134c8229631 100644
--- a/include/linux/percpu.h
+++ b/include/linux/percpu.h
@@ -184,6 +184,11 @@ static inline void free_percpu(void *p)
184 184
185static inline void __init setup_per_cpu_areas(void) { } 185static inline void __init setup_per_cpu_areas(void) { }
186 186
187static inline void *pcpu_lpage_remapped(void *kaddr)
188{
189 return NULL;
190}
191
187#endif /* CONFIG_SMP */ 192#endif /* CONFIG_SMP */
188 193
189#define alloc_percpu(type) (type *)__alloc_percpu(sizeof(type), \ 194#define alloc_percpu(type) (type *)__alloc_percpu(sizeof(type), \