public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb•auug.org.au>
To: Rob Herring <robherring2@gmail•com>, Mark Salter <msalter@redhat•com>
Cc: Linux-Next Mailing List <linux-next@vger•kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger•kernel.org>,
	Mike Rapoport <rppt@linux•vnet.ibm.com>
Subject: linux-next: manual merge of the devicetree tree with the c6x tree
Date: Wed, 3 Oct 2018 15:37:33 +1000	[thread overview]
Message-ID: <20181003153733.6c332851@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 1448 bytes --]

Hi all,

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

  arch/c6x/kernel/setup.c

between commit:

  31b02fe54206 ("c6x: switch to NO_BOOTMEM")

from the c6x tree and commit:

  be7cd2df1d22 ("c6x: use common built-in dtb support")

from the devicetree 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/c6x/kernel/setup.c
index cc74cb9d349b,05d96a9541b5..000000000000
--- a/arch/c6x/kernel/setup.c
+++ b/arch/c6x/kernel/setup.c
@@@ -352,7 -348,17 +347,7 @@@ void __init setup_arch(char **cmdline_p
  	init_mm.end_data   = memory_start;
  	init_mm.brk        = memory_start;
  
- 	unflatten_device_tree();
 -	/*
 -	 * Give all the memory to the bootmap allocator,  tell it to put the
 -	 * boot mem_map at the start of memory
 -	 */
 -	bootmap_size = init_bootmem_node(NODE_DATA(0),
 -					 memory_start >> PAGE_SHIFT,
 -					 PAGE_OFFSET >> PAGE_SHIFT,
 -					 memory_end >> PAGE_SHIFT);
 -	memblock_reserve(memory_start, bootmap_size);
 -
+ 	unflatten_and_copy_device_tree();
  
  	c6x_cache_init();
  

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

                 reply	other threads:[~2018-10-03  5:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181003153733.6c332851@canb.auug.org.au \
    --to=sfr@canb$(echo .)auug.org.au \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=msalter@redhat$(echo .)com \
    --cc=robherring2@gmail$(echo .)com \
    --cc=rppt@linux$(echo .)vnet.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox