diff options
author | Len Brown <len.brown@intel.com> | 2008-10-22 23:28:38 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-10-22 23:28:38 -0400 |
commit | 5f50ef453dcb05115fc98f244b8f10bfacd4b8b7 (patch) | |
tree | 1999a7e6d242198d48f0089c7995a50f339fa3e4 /arch | |
parent | 530bc23bfeaa9156003afbeb9708fd03a5f1c73c (diff) | |
parent | e3deda9c87ac5eef2b5d18cd0b5511370979ca26 (diff) |
Merge branch 'misc' into test
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 4 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/sleep.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index c102af85df9c..0c2742f8c4da 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -97,7 +97,6 @@ static u64 acpi_lapic_addr __initdata = APIC_DEFAULT_PHYS_BASE; | |||
97 | #warning ACPI uses CMPXCHG, i486 and later hardware | 97 | #warning ACPI uses CMPXCHG, i486 and later hardware |
98 | #endif | 98 | #endif |
99 | 99 | ||
100 | static int acpi_mcfg_64bit_base_addr __initdata = FALSE; | ||
101 | 100 | ||
102 | /* -------------------------------------------------------------------------- | 101 | /* -------------------------------------------------------------------------- |
103 | Boot-time Configuration | 102 | Boot-time Configuration |
@@ -156,6 +155,9 @@ char *__init __acpi_map_table(unsigned long phys, unsigned long size) | |||
156 | } | 155 | } |
157 | 156 | ||
158 | #ifdef CONFIG_PCI_MMCONFIG | 157 | #ifdef CONFIG_PCI_MMCONFIG |
158 | |||
159 | static int acpi_mcfg_64bit_base_addr __initdata = FALSE; | ||
160 | |||
159 | /* The physical address of the MMCONFIG aperture. Set from ACPI tables. */ | 161 | /* The physical address of the MMCONFIG aperture. Set from ACPI tables. */ |
160 | struct acpi_mcfg_allocation *pci_mmcfg_config; | 162 | struct acpi_mcfg_allocation *pci_mmcfg_config; |
161 | int pci_mmcfg_config_num; | 163 | int pci_mmcfg_config_num; |
diff --git a/arch/x86/kernel/acpi/sleep.c b/arch/x86/kernel/acpi/sleep.c index 426e5d91b63a..55d10cbe65b1 100644 --- a/arch/x86/kernel/acpi/sleep.c +++ b/arch/x86/kernel/acpi/sleep.c | |||
@@ -21,7 +21,7 @@ unsigned long acpi_realmode_flags; | |||
21 | static unsigned long acpi_realmode; | 21 | static unsigned long acpi_realmode; |
22 | 22 | ||
23 | #if defined(CONFIG_SMP) && defined(CONFIG_64BIT) | 23 | #if defined(CONFIG_SMP) && defined(CONFIG_64BIT) |
24 | static char temp_stack[10240]; | 24 | static char temp_stack[4096]; |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | /** | 27 | /** |
@@ -97,7 +97,7 @@ int acpi_save_state_mem(void) | |||
97 | #else /* CONFIG_64BIT */ | 97 | #else /* CONFIG_64BIT */ |
98 | header->trampoline_segment = setup_trampoline() >> 4; | 98 | header->trampoline_segment = setup_trampoline() >> 4; |
99 | #ifdef CONFIG_SMP | 99 | #ifdef CONFIG_SMP |
100 | stack_start.sp = temp_stack + 4096; | 100 | stack_start.sp = temp_stack + sizeof(temp_stack); |
101 | #endif | 101 | #endif |
102 | initial_code = (unsigned long)wakeup_long64; | 102 | initial_code = (unsigned long)wakeup_long64; |
103 | saved_magic = 0x123456789abcdef0; | 103 | saved_magic = 0x123456789abcdef0; |