[PATCH v3 3/7] x86/mm: Thread pgprot_t through init_memory_mapping()

Dan Williams dan.j.williams at intel.com
Sun Mar 1 09:37:31 AEDT 2020


On Fri, Feb 21, 2020 at 10:25 AM Logan Gunthorpe <logang at deltatee.com> wrote:
>
> In prepartion to support a pgprot_t argument for arch_add_memory().
>
> It's required to move the prototype of init_memory_mapping() seeing
> the original location came before the definition of pgprot_t.
>
> Cc: Thomas Gleixner <tglx at linutronix.de>
> Cc: Ingo Molnar <mingo at redhat.com>
> Cc: Borislav Petkov <bp at alien8.de>
> Cc: "H. Peter Anvin" <hpa at zytor.com>
> Cc: x86 at kernel.org
> Cc: Dave Hansen <dave.hansen at linux.intel.com>
> Cc: Andy Lutomirski <luto at kernel.org>
> Cc: Peter Zijlstra <peterz at infradead.org>
> Signed-off-by: Logan Gunthorpe <logang at deltatee.com>

Looks good, checked for argument confusion, passes the nvdimm unit tests.

Reviewed-by: Dan Williams <dan.j.williams at intel.com>


More information about the Linuxppc-dev mailing list