On Fri, Feb 21, 2020 at 10:25 AM Logan Gunthorpe <log...@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 <t...@linutronix.de> > Cc: Ingo Molnar <mi...@redhat.com> > Cc: Borislav Petkov <b...@alien8.de> > Cc: "H. Peter Anvin" <h...@zytor.com> > Cc: x...@kernel.org > Cc: Dave Hansen <dave.han...@linux.intel.com> > Cc: Andy Lutomirski <l...@kernel.org> > Cc: Peter Zijlstra <pet...@infradead.org> > Signed-off-by: Logan Gunthorpe <log...@deltatee.com>
Looks good, checked for argument confusion, passes the nvdimm unit tests. Reviewed-by: Dan Williams <dan.j.willi...@intel.com>