|
@@ -17,7 +17,8 @@ extern void switch_mm(struct mm_struct *prev, struct mm_struct *next,
|
|
* registers like cr3 on the i386
|
|
* registers like cr3 on the i386
|
|
*/
|
|
*/
|
|
|
|
|
|
-extern volatile DEFINE_PER_CPU(pgd_t *,current_pgd); /* defined in arch/cris/mm/fault.c */
|
|
|
|
|
|
+/* defined in arch/cris/mm/fault.c */
|
|
|
|
+DECLARE_PER_CPU(pgd_t *, current_pgd);
|
|
|
|
|
|
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
|
|
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
|
|
{
|
|
{
|