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 unsigned long acpi_copy_wakeup_routine(unsigned long); 16 extern void wakeup_long64(void); 17 18 extern void do_suspend_lowlevel(void); 19 20 extern int x86_acpi_suspend_lowlevel(void); 21 22 asmlinkage acpi_status x86_acpi_enter_sleep_state(u8 state); 23