linux/arch/h8300/kernel
Frederic Weisbecker b2fe1430d4 h8300: 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 h8300's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
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:46 -07:00
..
timer h8300: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
asm-offsets.c ptrace: remove PT_DTRACE from arch/h8300 2009-06-18 13:03:48 -07:00
entry.S h8300 entry.S update 2007-07-16 09:05:37 -07:00
gpio.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
h8300_ksyms.c Generic semaphore implementation 2008-04-17 10:42:34 -04:00
irq.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
Makefile h8300-use-generic-init_task 2012-05-05 13:00:23 +02:00
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c h8300: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:46 -07:00
ptrace.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
setup.c h8300: use the declarations provided by <asm/sections.h> 2012-06-20 14:39:35 -07:00
signal.c h8300/signal: fix typo "statis" 2012-07-11 16:04:45 -07:00
sys_h8300.c h8300: Fix missing consts in kernel_execve() 2010-09-07 13:52:28 -07:00
syscalls.S h8300: switch to saved_sigmask-based sigsuspend/rt_sigsuspend 2012-05-21 23:58:07 -04:00
time.c h8300/time: add missing #include <asm/irq_regs.h> 2012-07-11 16:04:45 -07:00
traps.c Disintegrate asm/system.h for H8300 2012-03-28 18:30:02 +01:00
vmlinux.lds.S module: make MODULE_SYMBOL_PREFIX into a CONFIG option 2009-12-15 16:28:26 +10:30