Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1250111rwa; Sun, 21 Aug 2022 04:37:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR6V/TMlWOsbXQTPM6mr2aF+Ed6bxLyJpPofWY6O8uyQ181SoQfD4JIGKLcjp5l+VroM3kG1 X-Received: by 2002:a05:6a00:2195:b0:52e:6157:904d with SMTP id h21-20020a056a00219500b0052e6157904dmr16409528pfi.44.1661081862998; Sun, 21 Aug 2022 04:37:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661081862; cv=none; d=google.com; s=arc-20160816; b=CdsMt5kAgl0/PW+pLrKri2ZXLcqFwRfyT8PxQkxeMdGV1GUGy1G6593P3F5UYOeckc ROrROmJYRzg/qElo8nIKhq5g4jbTwFFFDUo1I8TvB6JSAHmssQcc67JJqq7BPP04y2t5 ZC1mJZKEzCGrXiR5ggPPYRuAUq4ZCnElflyPBzAsHW5WIh5yyT+pD8Xv9phRVhkWBIVj fOhn5vLPGchAPstaa1jgKRgt6eEF5tPS/tfB7otGotqQ3Zlgb1OnIsfWJgVD94tn4cO/ 6mKgW/WXPTV83fYw/a0DCW7sam9iJIBhVuNW1Ty9HlsL0e00VkctOYMaGM81P4O0Q8mn JGvA== 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=iRydGNWOVxx1HqAigFxDEMCuXoX5Io4IU5ztqyzaPAs=; b=iurD0EIkUbTk9zno/629bPANZvEnfvOTxCo41nEpq98VENxTD3xK9tVOecLtoZgH24 v16x4sYeOHRHIBEiHbZralUIpjAQA4nut2LU7PiE6p7J4t5Lf7vxQg4rADAzK58VpqSQ o4MR/jrNmTXG5CNZWSUjv2v/y4aFW7ia2UvVDokd+jPFP2Yf4wCW6jrzI/1W81F+cr6k T+pNueirnpepUhRo9DwTpfk875MA+ErnAP9S6bLWseQun4GPgYRpcS++8tcbDtEwM6JF g28hn63NNkmEmh358cerEmGtcm2NElPbhgx8zva+7HWAjJcdTdKBG8yPDeTTUjEKber7 GLUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=Y1WaN5EA; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z1-20020a6552c1000000b00429fd909955si10137062pgp.90.2022.08.21.04.37.32; Sun, 21 Aug 2022 04:37:42 -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=@conchuod.ie header.s=google header.b=Y1WaN5EA; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=conchuod.ie Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbiHULgu (ORCPT + 99 others); Sun, 21 Aug 2022 07:36:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230243AbiHULgZ (ORCPT ); Sun, 21 Aug 2022 07:36:25 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50A1726AC2 for ; Sun, 21 Aug 2022 04:36:24 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id n4so10044790wrp.10 for ; Sun, 21 Aug 2022 04:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conchuod.ie; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=iRydGNWOVxx1HqAigFxDEMCuXoX5Io4IU5ztqyzaPAs=; b=Y1WaN5EAlXdoOlvAydRCG82PKL3F1frMO2Gueklv8Hl+oRlW3+ER52FQNA65qlT4ar Z7WCuQ1OFzwV34ttvUMnnPCxnyOST7zPOvFzJnEfB+4j9LdkZRYIp6/YyrcDINihXi58 Mi56g3YyTvh3AlocFbuYHF9KLeRtMj+gJZRl7xjIB1eNlD6/JSYjnAvfIJHSWd6ub0ac OCinSVK1v+4gLgh4cdvz9HZxI3kVUH04Zi9qadv4lPjNlRfWpHjmC5O0WECWQc0OFyyR pCJxCnow4Yga7OV0QJIHOuik6NTHAoDHxEufFMcUkn3qy31H1Se8nChjkuwao431/pXh hafQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=iRydGNWOVxx1HqAigFxDEMCuXoX5Io4IU5ztqyzaPAs=; b=z+Uzgc9333ZOnvSqM+Hv91eGTaDGNkpggDJcoKDm/QflqSBrjwT5DLetp16pKLEeVQ U4+CHw5BCpg4PDEE6xoXS2dhhRdy52L1ihPUKfIIGaHVm8SxWBVEKvYoUyGCNHENI+hQ Nu6rdlz/MgatabaNzKMkzq7yV4HZBfm6ZNQVn/K9DAq3K9TPNCB1OiYCIWIZOu6UR+to 8u3O9WeycimTJ7ULR9mc6EusgOF3Q758+AmBNc9YpeZVHeDu2N+iCd/1CWO+mPTQOnGt l2pkvh8SmENc2GuHTim2NEiVgIcnE1wCzEUMaYwch/5SM1JZ4SyVrwjbe0gd0l9ouaMe s8dw== X-Gm-Message-State: ACgBeo07+UASAAxd5ajBqosO4+FLebhBQJysuVr3fjRtMut+NTqX4stN mFaxBxJHqw2T5R4VLbhVQhswtQ== X-Received: by 2002:a05:6000:1545:b0:220:61fa:64a with SMTP id 5-20020a056000154500b0022061fa064amr8748201wry.174.1661081783798; Sun, 21 Aug 2022 04:36:23 -0700 (PDT) Received: from henark71.. ([51.37.149.245]) by smtp.gmail.com with ESMTPSA id m9-20020a7bce09000000b003a3442f1229sm14071361wmc.29.2022.08.21.04.36.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Aug 2022 04:36:23 -0700 (PDT) From: Conor Dooley To: Michal Simek , Paul Walmsley , Palmer Dabbelt , Albert Ou , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , "David S . Miller" , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Arnd Bergmann Cc: Geert Uytterhoeven , Conor Dooley , Kees Cook , Peter Zijlstra , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-arch@vger.kernel.org Subject: [PATCH 4/6] sh: use the asm-generic version of cpuinfo_op Date: Sun, 21 Aug 2022 12:35:11 +0100 Message-Id: <20220821113512.2056409-5-mail@conchuod.ie> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220821113512.2056409-1-mail@conchuod.ie> References: <20220821113512.2056409-1-mail@conchuod.ie> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Conor Dooley There's little point in duplicating the declaration of cpuinfo_op now that there's a shared version of it, so drop it & include the generic header. Signed-off-by: Conor Dooley --- arch/sh/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/include/asm/processor.h b/arch/sh/include/asm/processor.h index 85a6c1c3c16e..4125494515c9 100644 --- a/arch/sh/include/asm/processor.h +++ b/arch/sh/include/asm/processor.h @@ -4,6 +4,7 @@ #include #include +#include #ifndef __ASSEMBLY__ /* @@ -123,7 +124,6 @@ extern unsigned int mem_init_done; /* arch/sh/kernel/setup.c */ const char *get_cpu_subtype(struct sh_cpuinfo *c); -extern const struct seq_operations cpuinfo_op; /* thread_struct flags */ #define SH_THREAD_UAC_NOPRINT (1 << 0) -- 2.37.1