|
@@ -60,7 +60,7 @@ extern struct processor {
|
|
|
/*
|
|
|
* Set the page table
|
|
|
*/
|
|
|
- void (*switch_mm)(unsigned long pgd_phys, struct mm_struct *mm);
|
|
|
+ void (*switch_mm)(phys_addr_t pgd_phys, struct mm_struct *mm);
|
|
|
/*
|
|
|
* Set a possibly extended PTE. Non-extended PTEs should
|
|
|
* ignore 'ext'.
|
|
@@ -82,7 +82,7 @@ extern void cpu_proc_init(void);
|
|
|
extern void cpu_proc_fin(void);
|
|
|
extern int cpu_do_idle(void);
|
|
|
extern void cpu_dcache_clean_area(void *, int);
|
|
|
-extern void cpu_do_switch_mm(unsigned long pgd_phys, struct mm_struct *mm);
|
|
|
+extern void cpu_do_switch_mm(phys_addr_t pgd_phys, struct mm_struct *mm);
|
|
|
#ifdef CONFIG_ARM_LPAE
|
|
|
extern void cpu_set_pte_ext(pte_t *ptep, pte_t pte);
|
|
|
#else
|