[PATCH 2/3] powerpc/mm: Rename find_linux_pte_or_hugepte
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue May 16 21:22:52 AEST 2017
On Tue, 2017-05-16 at 14:56 +0530, Aneesh Kumar K.V wrote:
> +static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea,
> + bool *is_thp, unsigned *hshift)
> +{
> + VM_WARN((!arch_irqs_disabled() && !__hard_irqs_disabled()) ,
> + "%s called with irq enabled\n", __func__);
> + return __find_linux_pte(pgdir, ea, is_thp, hshift);
> +}
> +
When is arch_irqs_disabled() not sufficient ?
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list