summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/mmu_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/mmu_context.h')
-rw-r--r--include/asm-cris/mmu_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/mmu_context.h b/include/asm-cris/mmu_context.h
index f9308c5bbd99..e6e659dc757b 100644
--- a/include/asm-cris/mmu_context.h
+++ b/include/asm-cris/mmu_context.h
@@ -15,7 +15,7 @@ extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
* registers like cr3 on the i386
*/
-extern volatile pgd_t *current_pgd; /* defined in arch/cris/mm/fault.c */
+extern volatile DEFINE_PER_CPU(pgd_t *,current_pgd); /* defined in arch/cris/mm/fault.c */
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
{
OpenPOWER on IntegriCloud