|
@@ -2160,6 +2160,12 @@ int __pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address)
|
|
spin_unlock(&mm->page_table_lock);
|
|
spin_unlock(&mm->page_table_lock);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+#else
|
|
|
|
+/* Workaround for gcc 2.96 */
|
|
|
|
+int __pud_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long address)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif /* __PAGETABLE_PUD_FOLDED */
|
|
#endif /* __PAGETABLE_PUD_FOLDED */
|
|
|
|
|
|
#ifndef __PAGETABLE_PMD_FOLDED
|
|
#ifndef __PAGETABLE_PMD_FOLDED
|
|
@@ -2188,6 +2194,12 @@ int __pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address)
|
|
spin_unlock(&mm->page_table_lock);
|
|
spin_unlock(&mm->page_table_lock);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
+#else
|
|
|
|
+/* Workaround for gcc 2.96 */
|
|
|
|
+int __pmd_alloc(struct mm_struct *mm, pud_t *pud, unsigned long address)
|
|
|
|
+{
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
#endif /* __PAGETABLE_PMD_FOLDED */
|
|
#endif /* __PAGETABLE_PMD_FOLDED */
|
|
|
|
|
|
int make_pages_present(unsigned long addr, unsigned long end)
|
|
int make_pages_present(unsigned long addr, unsigned long end)
|