|
@@ -29,6 +29,7 @@
|
|
|
#include <asm/processor.h>
|
|
|
#include <asm/mmu.h>
|
|
|
#include <asm/mpspec.h>
|
|
|
+#include <asm/realmode.h>
|
|
|
|
|
|
#define COMPILER_DEPENDENT_INT64 long long
|
|
|
#define COMPILER_DEPENDENT_UINT64 unsigned long long
|
|
@@ -116,10 +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[];
|
|
|
-
|
|
|
-/* 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
|