Frederic Weisbecker e3942ba040 vtime: Consolidate a bit the ctx switch code
On ia64 and powerpc, vtime context switch only consists
in flushing system and user pending time, plus a few
arch housekeeping.

Consolidate that into a generic implementation. s390 is
a special case because pending user and system time accounting
there is hard to dissociate. So it's keeping its own implementation.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
2012-11-19 16:41:32 +01:00
..
2012-10-09 14:18:10 +02:00
2012-09-26 15:44:57 +02:00
2012-09-26 15:45:09 +02:00
2012-03-28 18:30:02 +01:00
2008-12-25 13:39:06 +01:00
2012-03-11 11:59:29 -04:00
2012-09-26 15:45:00 +02:00
2011-12-27 11:27:12 +01:00
2010-06-09 11:12:36 +02:00
2012-07-24 12:01:20 -07:00
2012-09-26 15:44:57 +02:00
2009-06-12 10:27:31 +02:00
2012-10-09 14:18:10 +02:00
2012-07-03 14:55:37 -03:00
2012-10-01 09:58:13 -04:00