1b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e44b7b75SPavel Machek /* 3e44b7b75SPavel Machek * Variables and functions used by the code in sleep.c 4e44b7b75SPavel Machek */ 5e44b7b75SPavel Machek 6cb289095SSean Christopherson #include <linux/linkage.h> 7e44b7b75SPavel Machek 8e44b7b75SPavel Machek extern unsigned long saved_video_mode; 9e44b7b75SPavel Machek extern long saved_magic; 10e44b7b75SPavel Machek 11e44b7b75SPavel Machek extern int wakeup_pmode_return; 12e44b7b75SPavel Machek 132a14e541SKonrad Rzeszutek Wilk extern u8 wake_sleep_flags; 142a14e541SKonrad Rzeszutek Wilk 15e44b7b75SPavel Machek extern void wakeup_long64(void); 16f1a2003eSRafael J. Wysocki 17f1a2003eSRafael J. Wysocki extern void do_suspend_lowlevel(void); 18d6a77eadSKonrad Rzeszutek Wilk 19d6a77eadSKonrad Rzeszutek Wilk extern int x86_acpi_suspend_lowlevel(void); 2040bce100SLv Zheng 21*fa0fca68SAlexey Dobriyan asmlinkage acpi_status x86_acpi_enter_sleep_state(u8 state); 22