mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
Migrated ACPI wakeup code to the real-mode blob. Code existing in .x86_trampoline can be completely removed. Static descriptor table in wakeup_asm.S is courtesy of H. Peter Anvin. Signed-off-by: Jarkko Sakkinen <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: Rafael J. Wysocki <[email protected]> Cc: Len Brown <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]>
20 lines
423 B
C
20 lines
423 B
C
/*
|
|
* Variables and functions used by the code in sleep.c
|
|
*/
|
|
|
|
#include <linux/linkage.h>
|
|
#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 asmlinkage void acpi_enter_s3(void);
|
|
|
|
extern unsigned long acpi_copy_wakeup_routine(unsigned long);
|
|
extern void wakeup_long64(void);
|
|
|
|
extern void do_suspend_lowlevel(void);
|