linux-next: manual merge of the akpm-current tree with the parisc-hd tree

From: Stephen Rothwell
Date: Thu May 09 2019 - 01:35:20 EST


Hi all,

Today's linux-next merge of the akpm-current tree got a conflict in:

arch/parisc/mm/init.c

between commit:

98429dded340 ("parisc: Enable SPARSEMEM_VMEMMAP")

from the parisc-hd tree and commit:

2e5adbd9e97a ("initramfs: provide a generic free_initrd_mem implementation")

from the akpm-current tree.

I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.

--
Cheers,
Stephen Rothwell

diff --cc arch/parisc/mm/init.c
index 6fa6d3b1d3f4,437d4c35c562..000000000000
--- a/arch/parisc/mm/init.c
+++ b/arch/parisc/mm/init.c
@@@ -928,18 -921,3 +928,11 @@@ void flush_tlb_all(void
spin_unlock(&sid_lock);
}
#endif
+
- #ifdef CONFIG_BLK_DEV_INITRD
- void free_initrd_mem(unsigned long start, unsigned long end)
- {
- free_reserved_area((void *)start, (void *)end, -1, "initrd");
- }
- #endif
-
+#if defined(CONFIG_SPARSEMEM) && defined(CONFIG_SPARSEMEM_VMEMMAP)
+int __meminit vmemmap_populate(unsigned long vstart, unsigned long vend,
+ int node, struct vmem_altmap *altmap)
+{
+ return vmemmap_populate_basepages(vstart, vend, node);
+}
+#endif

Attachment: pgpPGcraCXPGZ.pgp
Description: OpenPGP digital signature