x86/paravirt: finish change from lazy cpu to context switch start/end
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Wed, 18 Feb 2009 19:18:57 +0000 (11:18 -0800)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 30 Mar 2009 06:36:01 +0000 (23:36 -0700)
commit224101ed69d3fbb486868e0f6e0f9fa37302efb4
tree46830842a99659421eeabee65d299ab4c3b59f28
parentb407fc57b815b2016186220baabc76cc8264206e
x86/paravirt: finish change from lazy cpu to context switch start/end

Impact: fix lazy context switch API

Pass the previous and next tasks into the context switch start
end calls, so that the called functions can properly access the
task state (esp in end_context_switch, in which the next task
is not yet completely current).

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
arch/x86/include/asm/paravirt.h
arch/x86/include/asm/pgtable.h
arch/x86/kernel/paravirt.c
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/vmi_32.c
arch/x86/lguest/boot.c
arch/x86/xen/enlighten.c
include/asm-frv/pgtable.h
include/asm-generic/pgtable.h
kernel/sched.c