aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb_nohash.c
diff options
context:
space:
mode:
authorBecky Bruce <beckyb@kernel.crashing.org>2011-06-28 15:54:47 -0400
committerKumar Gala <galak@kernel.crashing.org>2011-07-08 01:21:34 -0400
commit3160b09796129abc9523ea3cd1633b0faba64a02 (patch)
tree53713f22a00a100d8d1e3e2a677da26f206d9fd6 /arch/powerpc/mm/tlb_nohash.c
parentf6ad160e6f4f4d6933eeb82a2bfa25ea008585f0 (diff)
powerpc: Create next_tlbcam_idx percpu variable for FSL_BOOKE
This is used to round-robin TLBCAM entries. Signed-off-by: Becky Bruce <beckyb@kernel.crashing.org> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/mm/tlb_nohash.c')
-rw-r--r--arch/powerpc/mm/tlb_nohash.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/mm/tlb_nohash.c b/arch/powerpc/mm/tlb_nohash.c
index 3722185d1865..e80ed1093e2f 100644
--- a/arch/powerpc/mm/tlb_nohash.c
+++ b/arch/powerpc/mm/tlb_nohash.c
@@ -102,6 +102,12 @@ unsigned long linear_map_top; /* Top of linear mapping */
102 102
103#endif /* CONFIG_PPC64 */ 103#endif /* CONFIG_PPC64 */
104 104
105#ifdef CONFIG_PPC_FSL_BOOK3E
106/* next_tlbcam_idx is used to round-robin tlbcam entry assignment */
107DEFINE_PER_CPU(int, next_tlbcam_idx);
108EXPORT_PER_CPU_SYMBOL(next_tlbcam_idx);
109#endif
110
105/* 111/*
106 * Base TLB flushing operations: 112 * Base TLB flushing operations:
107 * 113 *