mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 17:41:29 +00:00
d6a77ead21
Which by default will be x86_acpi_suspend_lowlevel. This registration allows us to register another callback if there is a need to use another platform specific callback. Signed-off-by: Liang Tang <liang.tang@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Tested-by: Ben Guthro <benjamin.guthro@citrix.com> Acked-by: "H. Peter Anvin" <hpa@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
20 lines
397 B
C
20 lines
397 B
C
/*
|
|
* Variables and functions used by the code in sleep.c
|
|
*/
|
|
|
|
#include <asm/realmode.h>
|
|
|
|
extern unsigned long saved_video_mode;
|
|
extern long saved_magic;
|
|
|
|
extern int wakeup_pmode_return;
|
|
|
|
extern u8 wake_sleep_flags;
|
|
|
|
extern unsigned long acpi_copy_wakeup_routine(unsigned long);
|
|
extern void wakeup_long64(void);
|
|
|
|
extern void do_suspend_lowlevel(void);
|
|
|
|
extern int x86_acpi_suspend_lowlevel(void);
|