kernel-fxtec-pro1x/arch/m68k/kernel
Frederic Weisbecker 5b57ba37e8 m68k: Add missing RCU idle APIs on idle loop
In the old times, the whole idle task was considered
as an RCU quiescent state. But as RCU became more and
more successful overtime, some RCU read side critical
section have been added even in the code of some
architectures idle tasks, for tracing for example.

So nowadays, rcu_idle_enter() and rcu_idle_exit() must
be called by the architecture to tell RCU about the part
in the idle loop that doesn't make use of rcu read side
critical sections, typically the part that puts the CPU
in low power mode.

This is necessary for RCU to find the quiescent states in
idle in order to complete grace periods.

Add this missing pair of calls in the m68k's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: m68k <linux-m68k@lists.linux-m68k.org>
Cc: <stable@vger.kernel.org> # 3.3+
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
2012-09-23 07:44:47 -07:00
..
.gitignore
asm-offsets.c m68k: remove thread_info struct from thread struct 2011-12-24 21:47:56 +10:00
dma.c m68k: add support for DMA_BIDIRECTIONAL in dma support functions 2012-07-17 15:49:40 +10:00
entry.S m68k: merge the MMU and non-MMU versions of the entry.S code 2012-07-16 09:59:21 +10:00
head.S m68k/mac: early console 2011-12-10 19:52:45 +01:00
ints.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
irq.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
m68k_ksyms.c m68k: handle presence of 64bit mul/div instructions cleanly 2011-12-24 21:47:57 +10:00
Makefile m68k: common PCI support definitions and code 2012-07-17 15:49:41 +10:00
module.c module.c: spelling s/postition/position/g 2012-07-20 10:38:35 +02:00
module.lds
pcibios.c m68k: common PCI support definitions and code 2012-07-17 15:49:41 +10:00
process.c m68k: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:47 -07:00
ptrace.c m68k: make syscall_trace_enter/leave exist for non-MMU classic m68k types 2012-06-12 11:58:29 +10:00
setup.c m68k: merge m68k and m68knommu arch directories 2011-03-25 14:05:13 +10:00
setup_mm.c m68k: add ColdFire FPU support for the V4e ColdFire CPUs 2011-12-30 10:20:47 +10:00
setup_no.c m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop} 2012-06-27 09:59:43 +02:00
signal.c new helper: signal_delivered() 2012-06-01 12:58:52 -04:00
sun3-head.S
sys_m68k.c m68k: Make sys_atomic_cmpxchg_32 work on classic m68k 2012-08-03 00:48:24 +02:00
syscalltable.S m68k: Wire up process_vm_{read,write}v 2011-12-06 20:37:58 +01:00
time.c m68k: fix inclusion of arch_gettimeoffset for non-MMU 68k classic CPU types 2012-06-12 11:58:26 +10:00
traps.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vectors.c Disintegrate asm/system.h for M68K 2012-03-28 18:30:02 +01:00
vmlinux-nommu.lds m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop} 2012-06-27 09:59:43 +02:00
vmlinux-std.lds m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop} 2012-06-27 09:59:43 +02:00
vmlinux-sun3.lds m68k: Replace m68k-specific _[se]bss by generic __bss_{start,stop} 2012-06-27 09:59:43 +02:00
vmlinux.lds.S m68k: use non-MMU linker script for ColdFire MMU builds 2011-12-30 10:20:44 +10:00