powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKE
[pandora-kernel.git] / arch / powerpc / mm / tlb_nohash.c
index 3722185..e80ed10 100644 (file)
@@ -102,6 +102,12 @@ unsigned long linear_map_top;      /* Top of linear mapping */
 
 #endif /* CONFIG_PPC64 */
 
+#ifdef CONFIG_PPC_FSL_BOOK3E
+/* next_tlbcam_idx is used to round-robin tlbcam entry assignment */
+DEFINE_PER_CPU(int, next_tlbcam_idx);
+EXPORT_PER_CPU_SYMBOL(next_tlbcam_idx);
+#endif
+
 /*
  * Base TLB flushing operations:
  *