aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/boot.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r--arch/x86/kernel/acpi/boot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 0ca27c7b0e8d..b595522dd799 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -106,7 +106,7 @@ enum acpi_irq_model_id acpi_irq_model = ACPI_IRQ_MODEL_PIC;
106#ifdef CONFIG_X86_64 106#ifdef CONFIG_X86_64
107 107
108/* rely on all ACPI tables being in the direct mapping */ 108/* rely on all ACPI tables being in the direct mapping */
109char *__acpi_map_table(unsigned long phys_addr, unsigned long size) 109char *__init __acpi_map_table(unsigned long phys_addr, unsigned long size)
110{ 110{
111 if (!phys_addr || !size) 111 if (!phys_addr || !size)
112 return NULL; 112 return NULL;
@@ -131,7 +131,7 @@ char *__acpi_map_table(unsigned long phys_addr, unsigned long size)
131 * from the fixed base. That's why we start at FIX_IO_APIC_BASE_END and 131 * from the fixed base. That's why we start at FIX_IO_APIC_BASE_END and
132 * count idx down while incrementing the phys address. 132 * count idx down while incrementing the phys address.
133 */ 133 */
134char *__acpi_map_table(unsigned long phys, unsigned long size) 134char *__init __acpi_map_table(unsigned long phys, unsigned long size)
135{ 135{
136 unsigned long base, offset, mapped_size; 136 unsigned long base, offset, mapped_size;
137 int idx; 137 int idx;