^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #include <asm/tlbflush.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) extern int restore_image(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) int swsusp_arch_resume(void)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) /* Avoid TLB mismatch during and after kernel resume */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) local_flush_tlb_all();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) return restore_image();
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) }