diff options
author | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-02-18 14:18:57 -0500 |
---|---|---|
committer | Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> | 2009-03-30 02:36:01 -0400 |
commit | 224101ed69d3fbb486868e0f6e0f9fa37302efb4 (patch) | |
tree | 46830842a99659421eeabee65d299ab4c3b59f28 /include/asm-generic | |
parent | b407fc57b815b2016186220baabc76cc8264206e (diff) |
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>
Diffstat (limited to 'include/asm-generic')
-rw-r--r-- | include/asm-generic/pgtable.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-generic/pgtable.h b/include/asm-generic/pgtable.h index 922f03671dd8..e410f602cab1 100644 --- a/include/asm-generic/pgtable.h +++ b/include/asm-generic/pgtable.h | |||
@@ -291,7 +291,7 @@ static inline void ptep_modify_prot_commit(struct mm_struct *mm, | |||
291 | * definition. | 291 | * definition. |
292 | */ | 292 | */ |
293 | #ifndef __HAVE_ARCH_START_CONTEXT_SWITCH | 293 | #ifndef __HAVE_ARCH_START_CONTEXT_SWITCH |
294 | #define arch_start_context_switch() do {} while (0) | 294 | #define arch_start_context_switch(prev) do {} while (0) |
295 | #endif | 295 | #endif |
296 | 296 | ||
297 | #ifndef __HAVE_PFNMAP_TRACKING | 297 | #ifndef __HAVE_PFNMAP_TRACKING |