summaryrefslogtreecommitdiff
path: root/arch/mips/power/hibernate.c
blob: 192879e76c857518e7cbcf523613448805ee294b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: GPL-2.0
#include <linux/suspend.h>
#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();
}