blob: 94ab17c3c49d2caf4923ab9267709b425070ac9e [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Huacai Chenf8fd30e2015-03-29 10:54:06 +08002#include <asm/tlbflush.h>
3
4extern int restore_image(void);
5
6int swsusp_arch_resume(void)
7{
8 /* Avoid TLB mismatch during and after kernel resume */
9 local_flush_tlb_all();
10 return restore_image();
11}