1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Variables and functions used by the code in sleep.c 4 */ 5 6 #include <linux/linkage.h> 7 8 extern unsigned long saved_video_mode; 9 extern long saved_magic; 10 11 extern int wakeup_pmode_return; 12 13 extern u8 wake_sleep_flags; 14 15 extern void wakeup_long64(void); 16 17 extern void do_suspend_lowlevel(void); 18 19 extern int x86_acpi_suspend_lowlevel(void); 20 21 asmlinkage acpi_status x86_acpi_enter_sleep_state(u8 state); 22