blob: 171a40c74db68e52b04613b000529d213a59837c [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Variables and functions used by the code in sleep.c
4 */
5
Olivier Deprez157378f2022-04-04 15:47:50 +02006#include <linux/linkage.h>
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00007
8extern unsigned long saved_video_mode;
9extern long saved_magic;
10
11extern int wakeup_pmode_return;
12
13extern u8 wake_sleep_flags;
14
15extern unsigned long acpi_copy_wakeup_routine(unsigned long);
16extern void wakeup_long64(void);
17
18extern void do_suspend_lowlevel(void);
19
20extern int x86_acpi_suspend_lowlevel(void);
21
Olivier Deprez157378f2022-04-04 15:47:50 +020022asmlinkage acpi_status x86_acpi_enter_sleep_state(u8 state);