Skip to contentSkip to conversation

Merge conflict when forward porting v3.14.12-rt9 onto v3.14.17

PATCH Anders Roxell 1 participant 1 message Aug 14, 2014 Tracing

lore
Share & tools
lore
#0 lore raw

Hi all,

I have forward ported v3.14.12-rt9 to v3.14.17 and I got some merge conflicts. The merge conflicts occured already on v3.14.14.

I maintain a git tree (to support the Linaro stable kernel RT tree) at [1] meant to integrate the RT development patchset onto the mainline stable kernel releases (one branch for each major stable kernel release), and later integrate minor mainline releases into the branches, such that the branches themselves are purely fast-forward.

Cheers,
Anders

[1] https://git.linaro.org/people/anders.roxell/linux-rt.git

kernel/Kconfig.locks +0 -0
diff --cc kernel/Kconfig.locks
index 8bb92eb,ecee67a..b867a1c
@@@ -220,6 -220,9 +220,9 @@@ config INLINE_WRITE_UNLOCK_IRQRESTOR
  
  endif
  
+ config ARCH_SUPPORTS_ATOMIC_RMW
+       bool
+ 
  config MUTEX_SPIN_ON_OWNER
        def_bool y
-       depends on SMP && !DEBUG_MUTEXES && !PREEMPT_RT_FULL
 -      depends on SMP && !DEBUG_MUTEXES && ARCH_SUPPORTS_ATOMIC_RMW
++      depends on SMP && !DEBUG_MUTEXES && ARCH_SUPPORTS_ATOMIC_RMW && !PREEMPT_RT_FULL
kernel/trace/trace.c +0 -0
diff --cc kernel/trace/trace.c
index 841eaf84,7e259b2..c3bedc2
@@@ -462,8 -468,8 +468,8 @@@ int __trace_puts(unsigned long ip, cons
  
        local_save_flags(irq_flags);
        buffer = global_trace.trace_buffer.buffer;
 -      event = trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc, 
 +      event = trace_buffer_lock_reserve(buffer, TRACE_PRINT, alloc,
-                                         irq_flags, preempt_count());
+                                         irq_flags, pc);
        if (!event)
                return 0;
Signature · 3 lines
Anders Roxell
[email protected]
M: +46 709 71 42 85 | IRC: roxell