> As well as the following three functions:
>
> pud_t *pud_boot_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long addr,
> int cpu);
> pmd_t *pmd_boot_alloc(struct mm_struct *mm, pud_t *pud, unsigned long addr,
> int cpu);
> pte_t *pte_boot_alloc(struct mm_struct *mm, pmd_t *pmd, unsigned long addr,
> int cpu);
I'm not sure you can just put them like this into generic code. Some
architectures are doing strange things with them.
And we already have boot_ioremap on some architectures. Why is that not
enough?
-Andi
|