Logan Gunthorpe c164fbb40c x86/mm: thread pgprot_t through init_memory_mapping()
In preparation 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.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Hildenbrand <david@redhat.com>
Cc: Eric Badger <ebadger@gigaio.com>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Will Deacon <will@kernel.org>
Link: http://lkml.kernel.org/r/20200306170846.9333-4-logang@deltatee.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-10 15:36:21 -07:00
..
2020-04-04 16:28:24 +02:00
2020-03-30 17:35:14 -07:00
2020-04-03 13:12:26 -07:00
2020-03-30 19:14:28 -07:00
2020-01-09 14:40:03 +01:00
2019-11-26 19:25:25 -08:00
2019-11-27 11:42:01 -08:00
2020-02-26 15:21:22 +01:00
2019-11-12 16:21:15 +01:00
2019-11-12 16:21:15 +01:00
2020-03-21 16:03:25 +01:00
2020-02-16 20:58:06 +01:00
2019-11-28 11:16:43 -08:00
2019-06-24 19:19:24 +02:00
2020-03-21 16:03:25 +01:00
2020-03-21 16:03:25 +01:00
2020-03-30 19:35:52 -07:00
2020-02-16 20:58:06 +01:00
2020-03-21 16:03:25 +01:00
2020-03-30 19:35:52 -07:00
2020-03-30 19:55:39 -07:00
2020-02-16 20:58:06 +01:00
2020-02-09 12:11:12 -08:00