[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87vabur8pr.fsf@concordia.ellerman.id.au>
Date: Fri, 11 May 2018 16:45:52 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
aneesh.kumar@...ux.vnet.ibm.com
Cc: linux-kernel@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org
Subject: Re: [PATCH 11/17] powerpc/nohash32: set GUARDED attribute in the PMD directly
Christophe Leroy <christophe.leroy@....fr> writes:
> diff --git a/arch/powerpc/mm/ioremap.c b/arch/powerpc/mm/ioremap.c
> index 59be5dfcb3e9..b8c347077e02 100644
> --- a/arch/powerpc/mm/ioremap.c
> +++ b/arch/powerpc/mm/ioremap.c
> @@ -132,9 +132,14 @@ void __iomem * __ioremap_caller(phys_addr_t addr, unsigned long size,
> if (slab_is_available()) {
> struct vm_struct *area;
>
> - area = __get_vm_area_caller(size, VM_IOREMAP,
> - ioremap_bot, IOREMAP_END,
> - caller);
> + if (flags & _PAGE_GUARDED)
On 64-bit configs:
arch/powerpc/mm/ioremap.c:135:15: error: '_PAGE_GUARDED' undeclared (first use in this function)
cheers
Powered by blists - more mailing lists