summaryrefslogtreecommitdiffstats
path: root/arch/sparc/power/hibernate.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/power/hibernate.c')
-rw-r--r--arch/sparc/power/hibernate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/sparc/power/hibernate.c b/arch/sparc/power/hibernate.c
index 17bd2e167e07..df707a8ad311 100644
--- a/arch/sparc/power/hibernate.c
+++ b/arch/sparc/power/hibernate.c
@@ -35,6 +35,5 @@ void restore_processor_state(void)
{
struct mm_struct *mm = current->active_mm;
- load_secondary_context(mm);
- tsb_context_switch(mm);
+ tsb_context_switch_ctx(mm, CTX_HWBITS(mm->context));
}