secgateway/kernel/linux-4.14.83/arch/mips/power/hibernate.c

12 lines
235 B
C
Raw Normal View History

2019-06-11 07:43:23 +00:00
// SPDX-License-Identifier: GPL-2.0
#include <asm/tlbflush.h>
extern int restore_image(void);
int swsusp_arch_resume(void)
{
/* Avoid TLB mismatch during and after kernel resume */
local_flush_tlb_all();
return restore_image();
}