sleep.h 499 B

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