Revert "ANDROID: irqchip/gic-v3: rename gic_of_init to work around a ThinLTO+CFI bug"

This reverts commit 23141e2689 as the LTO
feature causes merge issues with 5.8-rc1.  So remove it for now and
allow the developer to add the latest version of the patches later on.

Cc: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4c8d4a523ad46af98162a6f453d39f81eb70be34
This commit is contained in:
Greg Kroah-Hartman
2020-06-24 08:42:19 +02:00
parent f9703749df
commit d22ba28620

View File

@@ -1804,7 +1804,7 @@ static void __init gic_of_setup_kvm_info(struct device_node *node)
gic_set_kvm_info(&gic_v3_kvm_info);
}
static int __init gicv3_of_init(struct device_node *node, struct device_node *parent)
static int __init gic_of_init(struct device_node *node, struct device_node *parent)
{
void __iomem *dist_base;
struct redist_region *rdist_regs;
@@ -1874,7 +1874,7 @@ out_unmap_dist:
return err;
}
IRQCHIP_DECLARE(gic_v3, "arm,gic-v3", gicv3_of_init);
IRQCHIP_DECLARE(gic_v3, "arm,gic-v3", gic_of_init);
#ifdef CONFIG_ACPI
static struct