percpu: fix build breakage on s390 and cleanup build configuration tests
[deliverable/linux.git] / mm / percpu-km.c
index df680855540a61264d27fbb041d274c5b6ca3d2a..7037bc73bfa42a5fd93294f27185a119387dbf17 100644 (file)
@@ -27,7 +27,7 @@
  *   chunk size is not aligned.  percpu-km code will whine about it.
  */
 
-#ifdef CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK
+#if defined(CONFIG_SMP) && defined(CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK)
 #error "contiguous percpu allocation is incompatible with paged first chunk"
 #endif
 
This page took 0.042834 seconds and 5 git commands to generate.