diff options
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 2 | ||||
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index ce664f33ea8e..406ed77216d0 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -593,7 +593,7 @@ void __init acpi_set_irq_model_ioapic(void) | |||
593 | #ifdef CONFIG_ACPI_HOTPLUG_CPU | 593 | #ifdef CONFIG_ACPI_HOTPLUG_CPU |
594 | #include <acpi/processor.h> | 594 | #include <acpi/processor.h> |
595 | 595 | ||
596 | static void acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) | 596 | static void __cpuinitdata acpi_map_cpu2node(acpi_handle handle, int cpu, int physid) |
597 | { | 597 | { |
598 | #ifdef CONFIG_ACPI_NUMA | 598 | #ifdef CONFIG_ACPI_NUMA |
599 | int nid; | 599 | int nid; |
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index f75e0608be5b..ae2ec929e52f 100644 --- a/drivers/iommu/amd_iommu.c +++ b/drivers/iommu/amd_iommu.c | |||
@@ -2804,7 +2804,7 @@ static int amd_iommu_dma_supported(struct device *dev, u64 mask) | |||
2804 | * we don't need to preallocate the protection domains anymore. | 2804 | * we don't need to preallocate the protection domains anymore. |
2805 | * For now we have to. | 2805 | * For now we have to. |
2806 | */ | 2806 | */ |
2807 | static void prealloc_protection_domains(void) | 2807 | static void __init prealloc_protection_domains(void) |
2808 | { | 2808 | { |
2809 | struct iommu_dev_data *dev_data; | 2809 | struct iommu_dev_data *dev_data; |
2810 | struct dma_ops_domain *dma_dom; | 2810 | struct dma_ops_domain *dma_dom; |