]> Git Repo - linux.git/commitdiff
percpu: add dummy pcpu_lpage_remapped() for !CONFIG_SMP
authorTejun Heo <[email protected]>
Wed, 15 Jul 2009 14:35:14 +0000 (23:35 +0900)
committerTejun Heo <[email protected]>
Wed, 15 Jul 2009 14:35:14 +0000 (23:35 +0900)
!CONFIG_SMP was missing pcpu_lpage_remapped() definition causing build
failure.  Add dummy implementation.  This was discovered by linux-next
testing.

Signed-off-by: Tejun Heo <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Kamalesh Babulal <[email protected]>
Cc: Stephen Rothwell <[email protected]>
include/linux/percpu.h

index 8ce91af4aa19f0b245707310313449691c910a0c..e134c8229631bfe1ccc6e15b6fe408810a8cf4e8 100644 (file)
@@ -184,6 +184,11 @@ static inline void free_percpu(void *p)
 
 static inline void __init setup_per_cpu_areas(void) { }
 
+static inline void *pcpu_lpage_remapped(void *kaddr)
+{
+       return NULL;
+}
+
 #endif /* CONFIG_SMP */
 
 #define alloc_percpu(type)     (type *)__alloc_percpu(sizeof(type), \
This page took 0.056491 seconds and 4 git commands to generate.