linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the percpu tree with the asm-generic tree
@ 2016-09-27  3:54 Stephen Rothwell
  2016-09-27 19:59 ` Arnd Bergmann
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2016-09-27  3:54 UTC (permalink / raw)
  To: Tejun Heo, Rusty Russell, Christoph Lameter, Ingo Molnar,
	Arnd Bergmann
  Cc: linux-next, linux-kernel, Chunyan Zhang, Nicholas Piggin

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;								\
  })
  

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-27 20:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-27  3:54 linux-next: manual merge of the percpu tree with the asm-generic tree Stephen Rothwell
2016-09-27 19:59 ` Arnd Bergmann
2016-09-27 20:01   ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).