ARC: boot log: eliminate struct cpuinfo_arc #3: don't export
authorVineet Gupta <vgupta@kernel.org>
Fri, 12 Jun 2020 22:30:47 +0000 (15:30 -0700)
committerVineet Gupta <vgupta@kernel.org>
Fri, 18 Aug 2023 03:31:59 +0000 (20:31 -0700)
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/arcregs.h
arch/arc/kernel/mcip.c

index cb1ad1b..160ee3f 100644 (file)
@@ -384,8 +384,6 @@ struct cpuinfo_arc {
        struct bcr_mpy extn_mpy;
 };
 
-extern struct cpuinfo_arc cpuinfo_arc700[];
-
 static inline int is_isa_arcv2(void)
 {
        return IS_ENABLED(CONFIG_ISA_ARCV2);
index f9fdb55..55373ca 100644 (file)
@@ -165,8 +165,6 @@ static void mcip_probe_n_setup(void)
                IS_AVAIL1(mp.idu, "IDU "),
                IS_AVAIL1(mp.dbg, "DEBUG "),
                IS_AVAIL1(mp.gfrc, "GFRC"));
-
-       cpuinfo_arc700[0].extn.gfrc = mp.gfrc;
 }
 
 struct plat_smp_ops plat_smp_ops = {