From patchwork Tue Aug 15 00:48:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 135717 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a888:0:b0:3f2:4152:657d with SMTP id x8csp838800vqo; Tue, 15 Aug 2023 20:08:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuUM6L3C7954YpHK+nWCDLubSs78hLSuPKrv7TOHQkxosGCmtL4fKXfP1nPwCxG+ASNycu X-Received: by 2002:a17:907:62a6:b0:99b:d244:2ac3 with SMTP id nd38-20020a17090762a600b0099bd2442ac3mr3988820ejc.9.1692155311243; Tue, 15 Aug 2023 20:08:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692155311; cv=none; d=google.com; s=arc-20160816; b=t0IidtCzvgnM8pg0ct8np7SNWBAPbDtCk9Bk2dDNOVGeZp03nW2XuoOLmzq4n5I+Hu mvzCbR+0F7ChKuzRFmmcmXhfiESG3ncqjPD2BnJ2ppjE/q1LZqv0VnrJke0svCnpMFSJ 0skNlhm8sPBnl/rnVyQoB2mlUduDZ04UzEnz0YpVs3mEnoVhpQtLsln31jONdGjoQrxX Im01rPKy6+tAg6nLFRXl0hGPgUovd8922/r0I3CAszNtIH/nWoEkzscmvZGW7ONRf5Xg vizuXVBw7zcYAXh1Nhja/sVR1xPDO7gqxis+oP+660QZ8CBtgiUZg6j9itVOwQ1G3OSp D3Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ifd5AjQy/ze2+e4Q5Y06lNQ6/z1rdMUnU2CN+bb5THU=; fh=pU3/8cu9yvGtRhZz+04fy928CRCHy2kGYoR0fnliYkk=; b=ML7p9W8tPx1SY9DU+fgRBp8m97a+z5ZWuK4DeLtqDVN86UNLUuPJkiMhfLYTvXuz9g 577RScAoX9EN1x6yalWaL0o1C1OL72wR8vk0IPQz2XxD0FECmmMO5YgkCXg3SqM7/jrq vazhsq28I9aPt9aF3hrzwWpvSttYVL8//jiTOJJsSef1Wj7qeKsbOYb5OKEwLwTfeprM PPu2TmR0DYU3tYP7wNiXS3K/rMCahfek4rU335z888xmkvIuwMv9FrM4YVkoxTDBT64a 4EpsqfjFfC/ejMxDpZhEYcmUV/N6ALOQ/nLoZJuUeXIV+UwhTLV9u82z+UWWraDCv5RD PmgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QyMUGocd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a170906640a00b0099bc106c938si10993430ejm.191.2023.08.15.20.08.07; Tue, 15 Aug 2023 20:08:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QyMUGocd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233742AbjHOAsf (ORCPT + 99 others); Mon, 14 Aug 2023 20:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233524AbjHOAsW (ORCPT ); Mon, 14 Aug 2023 20:48:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D90D81723 for ; Mon, 14 Aug 2023 17:48:21 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6F4B564A88 for ; Tue, 15 Aug 2023 00:48:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09758C433CB; Tue, 15 Aug 2023 00:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692060501; bh=yrWuUhf9P1ssyMUb7IbxFKryWboz4RPeuI0NifoMGno=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QyMUGocdqRQxXPgXekFfbwRBL0IWCSwI3QN3Boyyyo1kLtTDDptYC8VOqP0XGVVFR FdcESXIRYthB5KoHSAXxdzlHlsS7iHD6WYlHfuMv9u5T5npBs7AYxSLwGFmB7qKB0k JPN8ZVNjTRb0jXe+F/OsGHkU1MpbTMYEP7QY4D3hddo5d5jaIclct4EKo+H2oIOWTa aDkyjYMAje8hWAY5fNTVJvZH03L3VBRkVCt6gmkjL6gR3F2V5ls/OG8qRThAWZ/0CK jvmM8czZDJyX8wuO/4QdBaOFkxXssvZkz4h4jM1R82K7C8twmy/muW0ZxuZiq5xRxD 9pyacHtJt9wwg== From: Vineet Gupta To: linux-snps-arc@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Shahab Vahedi , Alexey Brodkin , Vineet Gupta Subject: [PATCH 07/20] ARC: boot log: eliminate struct cpuinfo_arc #3: don't export Date: Mon, 14 Aug 2023 17:48:00 -0700 Message-Id: <20230815004813.555115-8-vgupta@kernel.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230815004813.555115-1-vgupta@kernel.org> References: <20230815004813.555115-1-vgupta@kernel.org> MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774353447924742042 X-GMAIL-MSGID: 1774353447924742042 Signed-off-by: Vineet Gupta --- arch/arc/include/asm/arcregs.h | 2 -- arch/arc/kernel/mcip.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/arch/arc/include/asm/arcregs.h b/arch/arc/include/asm/arcregs.h index cb1ad1bb4ece..160ee3fab1bd 100644 --- a/arch/arc/include/asm/arcregs.h +++ b/arch/arc/include/asm/arcregs.h @@ -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); diff --git a/arch/arc/kernel/mcip.c b/arch/arc/kernel/mcip.c index f9fdb557c263..55373ca0d28b 100644 --- a/arch/arc/kernel/mcip.c +++ b/arch/arc/kernel/mcip.c @@ -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 = {