Nicholas Piggin's on June 10, 2019 2:38 pm:
> +static int vmap_hpages_range(unsigned long start, unsigned long end,
> +                        pgprot_t prot, struct page **pages,
> +                        unsigned int page_shift)
> +{
> +     BUG_ON(page_shift != PAGE_SIZE);
> +     return vmap_pages_range(start, end, prot, pages);
> +}

That's a false positive BUG_ON for !HUGE_VMAP configs. I'll fix that
and repost after a round of feedback.

Thanks,
Nick

Reply via email to