hibernate.c (e5451c8f8330e03ad3cfa16048b4daf961af434f) | hibernate.c (fc290a114fc6034b0f6a5a46e2fb7d54976cf87a) |
---|---|
1/* 2 * hibernate.c: Hibernaton support specific for sparc64. 3 * 4 * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) 5 */ 6 7#include <linux/mm.h> 8 --- 21 unchanged lines hidden (view full) --- 30{ 31 save_and_clear_fpu(); 32} 33 34void restore_processor_state(void) 35{ 36 struct mm_struct *mm = current->active_mm; 37 | 1/* 2 * hibernate.c: Hibernaton support specific for sparc64. 3 * 4 * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) 5 */ 6 7#include <linux/mm.h> 8 --- 21 unchanged lines hidden (view full) --- 30{ 31 save_and_clear_fpu(); 32} 33 34void restore_processor_state(void) 35{ 36 struct mm_struct *mm = current->active_mm; 37 |
38 load_secondary_context(mm); 39 tsb_context_switch(mm); | 38 tsb_context_switch_ctx(mm, CTX_HWBITS(mm->context)); |
40} | 39} |