kernel-fxtec-pro1x/arch/xtensa
Frederic Weisbecker 11ad47a0ed xtensa: 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 xtensa's idle loop.

Reported-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Chris Zankel <chris@zankel.net>
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:51 -07:00
..
boot xtensa: change to new flag variable 2011-03-17 14:02:57 +01:00
configs tokenring: delete all remaining driver support 2012-05-15 20:23:16 -04:00
include/asm Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2012-07-30 11:24:53 -07:00
kernel xtensa: Add missing RCU idle APIs on idle loop 2012-09-23 07:44:51 -07:00
lib
mm xtensa/mm/fault.c: port OOM changes to do_page_fault 2012-07-30 17:25:11 -07:00
platforms TTY: remove serialP.h inclusion from some files 2012-03-08 11:47:02 -08:00
variants xtensa: Change mail addresses of Hannes Weiner and Oskar Schirmer 2012-05-17 22:47:41 +02:00
Kconfig xtensa: select generic atomic64_t support 2012-07-31 18:42:39 -07:00
Kconfig.debug
Makefile xtensa: use "test -e" instead of bashism "test -a" 2012-06-20 14:39:35 -07:00