diff options
Diffstat (limited to 'arch/x86/include/asm/acpi.h')
| -rw-r--r-- | arch/x86/include/asm/acpi.h | 9 | 
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/x86/include/asm/acpi.h b/arch/x86/include/asm/acpi.h index 610001d385d..0c44630d178 100644 --- a/arch/x86/include/asm/acpi.h +++ b/arch/x86/include/asm/acpi.h @@ -29,7 +29,7 @@  #include <asm/processor.h>  #include <asm/mmu.h>  #include <asm/mpspec.h> -#include <asm/trampoline.h> +#include <asm/realmode.h>  #define COMPILER_DEPENDENT_INT64   long long  #define COMPILER_DEPENDENT_UINT64  unsigned long long @@ -117,11 +117,8 @@ static inline void acpi_disable_pci(void)  /* Low-level suspend routine. */  extern int acpi_suspend_lowlevel(void); -extern const unsigned char acpi_wakeup_code[]; -#define acpi_wakeup_address (__pa(TRAMPOLINE_SYM(acpi_wakeup_code))) - -/* early initialization routine */ -extern void acpi_reserve_wakeup_memory(void); +/* Physical address to resume after wakeup */ +#define acpi_wakeup_address ((unsigned long)(real_mode_header->wakeup_start))  /*   * Check if the CPU can handle C2 and deeper  |