aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/tlb-radix.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/tlb-radix.c')
-rw-r--r--arch/powerpc/mm/tlb-radix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/mm/tlb-radix.c b/arch/powerpc/mm/tlb-radix.c
index 0fdaf93a3e09..54efba2fd66e 100644
--- a/arch/powerpc/mm/tlb-radix.c
+++ b/arch/powerpc/mm/tlb-radix.c
@@ -117,7 +117,7 @@ static inline void _tlbie_va(unsigned long va, unsigned long pid,
117 */ 117 */
118void radix__local_flush_tlb_mm(struct mm_struct *mm) 118void radix__local_flush_tlb_mm(struct mm_struct *mm)
119{ 119{
120 unsigned int pid; 120 unsigned long pid;
121 121
122 preempt_disable(); 122 preempt_disable();
123 pid = mm->context.id; 123 pid = mm->context.id;
@@ -130,7 +130,7 @@ EXPORT_SYMBOL(radix__local_flush_tlb_mm);
130void radix___local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, 130void radix___local_flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
131 unsigned long ap, int nid) 131 unsigned long ap, int nid)
132{ 132{
133 unsigned int pid; 133 unsigned long pid;
134 134
135 preempt_disable(); 135 preempt_disable();
136 pid = mm ? mm->context.id : 0; 136 pid = mm ? mm->context.id : 0;
@@ -160,7 +160,7 @@ static int mm_is_core_local(struct mm_struct *mm)
160 160
161void radix__flush_tlb_mm(struct mm_struct *mm) 161void radix__flush_tlb_mm(struct mm_struct *mm)
162{ 162{
163 unsigned int pid; 163 unsigned long pid;
164 164
165 preempt_disable(); 165 preempt_disable();
166 pid = mm->context.id; 166 pid = mm->context.id;
@@ -185,7 +185,7 @@ EXPORT_SYMBOL(radix__flush_tlb_mm);
185void radix___flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr, 185void radix___flush_tlb_page(struct mm_struct *mm, unsigned long vmaddr,
186 unsigned long ap, int nid) 186 unsigned long ap, int nid)
187{ 187{
188 unsigned int pid; 188 unsigned long pid;
189 189
190 preempt_disable(); 190 preempt_disable();
191 pid = mm ? mm->context.id : 0; 191 pid = mm ? mm->context.id : 0;