hibernate.c 235 B

123456789101112
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <asm/tlbflush.h>
  3. extern int restore_image(void);
  4. int swsusp_arch_resume(void)
  5. {
  6. /* Avoid TLB mismatch during and after kernel resume */
  7. local_flush_tlb_all();
  8. return restore_image();
  9. }