projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79ed24
)
ACPI / numa: Use __weak, not the gcc-specific version
author
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 28 Jan 2014 00:19:15 +0000
(17:19 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Mon, 3 Feb 2014 17:39:43 +0000
(10:39 -0700)
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>
drivers/acpi/numa.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/numa.c
b/drivers/acpi/numa.c
index 359a43bdd94827cbd5f76e96bf4e8903974b86a3..24b5476449a110ad8c16ef6a246169be06e41b65 100644
(file)
--- 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)
return 0;
}
-void __init __
attribute__ ((weak))
+void __init __
weak
acpi_numa_x2apic_affinity_init(struct acpi_srat_x2apic_cpu_affinity *pa)
{
printk(KERN_WARNING PREFIX