From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755720AbcI0Dyj (ORCPT ); Mon, 26 Sep 2016 23:54:39 -0400 Received: from ozlabs.org ([103.22.144.67]:58741 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754339AbcI0Dyh (ORCPT ); Mon, 26 Sep 2016 23:54:37 -0400 Date: Tue, 27 Sep 2016 13:54:34 +1000 From: Stephen Rothwell To: Tejun Heo , Rusty Russell , Christoph Lameter , Ingo Molnar , Arnd Bergmann Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Chunyan Zhang , Nicholas Piggin Subject: linux-next: manual merge of the percpu tree with the asm-generic tree Message-ID: <20160927135434.0040b41c@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, Today's linux-next merge of the percpu tree got a conflict in: include/asm-generic/percpu.h between commit: acbdf0e98066 ("percpu: make this_cpu_generic_read notrace") from the asm-generic tree and commit: 1b5ca1212742 ("percpu: improve generic percpu modify-return implementation") from the percpu 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 include/asm-generic/percpu.h index 70fefec69e61,40e887068da2..000000000000 --- a/include/asm-generic/percpu.h +++ b/include/asm-generic/percpu.h @@@ -108,9 -118,9 +118,9 @@@ do { #define this_cpu_generic_read(pcp) \ ({ \ typeof(pcp) __ret; \ - preempt_disable(); \ + preempt_disable_notrace(); \ - __ret = *this_cpu_ptr(&(pcp)); \ + __ret = raw_cpu_generic_read(pcp); \ - preempt_enable(); \ + preempt_enable_notrace(); \ __ret; \ })