diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2014-01-27 19:19:15 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-03 12:39:43 -0500 |
commit | beffbe54fa2df3a80d74f168c38e0248adbde082 (patch) | |
tree | 13b86f9b6e2768db8a631b45b71e528200bad638 /drivers/acpi/numa.c | |
parent | d79ed248d923f219053760376a33371894a6d47c (diff) |
ACPI / numa: Use __weak, not the gcc-specific version
Use "__weak" instead of the gcc-specific "__attribute__ ((weak))".
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/numa.c')
-rw-r--r-- | drivers/acpi/numa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 359a43bdd948..24b5476449a1 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c | |||
@@ -193,7 +193,7 @@ static int __init acpi_parse_slit(struct acpi_table_header *table) | |||
193 | return 0; | 193 | return 0; |
194 | } | 194 | } |
195 | 195 | ||
196 | void __init __attribute__ ((weak)) | 196 | void __init __weak |
197 | acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa) | 197 | acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa) |
198 | { | 198 | { |
199 | printk(KERN_WARNING PREFIX | 199 | printk(KERN_WARNING PREFIX |