Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp1250393rwa; Sun, 21 Aug 2022 04:38:11 -0700 (PDT) X-Google-Smtp-Source: AA6agR50alpP5ysa1FAgQ/ZPNELAXqHxtWzRFwRsLp8ZPfNyWMxNFD6mnvLJAtQ0rAJxJyZ8Rw7s X-Received: by 2002:a17:90b:1b4a:b0:1f5:5578:6398 with SMTP id nv10-20020a17090b1b4a00b001f555786398mr17651494pjb.122.1661081891119; Sun, 21 Aug 2022 04:38:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661081891; cv=none; d=google.com; s=arc-20160816; b=Rs68v+NMwNUcVzwhCXhPL+mo8v45Qy7MmUkXQMaC6KyVp/G+9m2pxvj6sX5D6mHCub IkbEYSqSjVFb5ICDLIVX58/uJdTXN9njZaoegfs45qpKaMd2feWJiAFKVCj4CoF4nf7V er0YBOIIaYjDIwitbOP9AFd7oBu6NQOq0HejxHdUu+ozSstXzCa58/iMiPcnL+uQ9x7P yVcQyWPlYmdtEH7Ck7hqHehShEXp+FpaLdR/S4jc2SMXni8LPZsT4Xg8Ujk0M39Od4iR IFM2943r4e3HvYDG792XwWWViXRimzS7SBgRp2cT6LDt/q1Y+SEXdzoufSaJfIeBeNAg DBhQ== 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=2hp0XgWencqFe8kXeBG8b3/XdH3S4lc4e5c8N+bw8RQ=; b=m9MMp5Xf1oPVg7FH/ZepUNSJvV10YGjMRv+94RbJjeCn8WEDtq1V/59lNqpHifYuaF 8okVYn7/Und6lCGQ8IT99uIPtb1KjB8rcS5OLdbKllb58jEHJCGNHqRlQDEu+Jrm99GA 8As9ThlEPoET54WQBp9voW0HQCRWuYdfVdLXcD7ecaBM76IY1V4Ts9fDQP2SoCw4Gpew qn5InvsqENzU0z6bMLwXNez2e0h05qVgJVB3k+VSzdiBtk2IblEBIXzHqyJ3Ooc0DeGR MxasC0vbUBvjK2K6sZ4y3Gamg5tgsurscfgBlxyEjfDmOSdCSm5epC4Na+7xh3t3fZgp HDYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@conchuod.ie header.s=google header.b=LAUaEh2t; 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 r18-20020a170902c61200b0016cb5071ee5si8259515plr.332.2022.08.21.04.37.56; Sun, 21 Aug 2022 04:38:11 -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=LAUaEh2t; 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 S230362AbiHULgz (ORCPT + 99 others); Sun, 21 Aug 2022 07:36:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230222AbiHULgr (ORCPT ); Sun, 21 Aug 2022 07:36:47 -0400 Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 410F926AE5 for ; Sun, 21 Aug 2022 04:36:28 -0700 (PDT) Received: by mail-wm1-x330.google.com with SMTP id r83-20020a1c4456000000b003a5cb389944so6301422wma.4 for ; Sun, 21 Aug 2022 04:36:28 -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=2hp0XgWencqFe8kXeBG8b3/XdH3S4lc4e5c8N+bw8RQ=; b=LAUaEh2tAFhDJlCpu8MUfNuM9zMtSGqKo7XN911tRo/xHZRFSssv95uBSiWYBXRNvp 7UlrwRnOdY0JZcF2H4jZdEU94MUwWA/ozhhj1ZMuEKiKFqthJPnpE4k3HwjOguILHVB7 d53U+CGg5Q7M4H04caRUuup7XTmPnhFCyOm/hWyHEyUf2/qJeM+8MH/mEPJBDVXky01V 0BTGH+zJ3dWWXixtmU3ecjvrZJmJJxA5T0UJsfGk3o7lT6SAQZhCJdPsna2QhaozU6fC b2WWAWI58CNPdJH9MfcZW1ZfCpmYx0ybFfF3XGsEfu7E+JgPdnqeALGmlhdXaGB53p7o /tfg== 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=2hp0XgWencqFe8kXeBG8b3/XdH3S4lc4e5c8N+bw8RQ=; b=tDdsaw3Dx1DPJIOd0H9rzCnK82bJHPK0jXq2Ds/LMHW2iuFSf547l6zfsVDqmkIS3X 8EwfyvgTy5swLA7Jl4HFwdPsNKlQvFglx25lPWJA9zzgue6UONIspV8Xt1e6wz4kJsu4 bk9Z94TMqUPJGqdaSmz7zRCA9OEM3NdyRXEJiRAZ4iokl4Cpk8ROGlTc9mO9yDbae7Lj eAhwZ+OBLzKS8UkikgoFgFZlhr2iwkA9NdccRWFG1nAePPvkYCcImkey+enl1sBz73nD LWXOnlIfL0qKqAuwWIS6Lroyizi8OOzmcO2j/S3KYNVLJfikm6+XOtHMi8tunwFTENwL J7JA== X-Gm-Message-State: ACgBeo0AVmxVanyYcNuexZphZwVCo/gXsiykFEzYRlslQSzXoOoPb02v qef2Ql1TqMwHOJFEDqi+1RSNtO0dAwiZ3BHc X-Received: by 2002:a05:600c:4f90:b0:3a6:2bda:dc19 with SMTP id n16-20020a05600c4f9000b003a62bdadc19mr8143133wmq.17.1661081786790; Sun, 21 Aug 2022 04:36:26 -0700 (PDT) Received: from henark71.. ([51.37.149.245]) by smtp.gmail.com with ESMTPSA id m9-20020a7bce09000000b003a3442f1229sm14071361wmc.29.2022.08.21.04.36.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Aug 2022 04:36:26 -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 6/6] x86: use the asm-generic version of cpuinfo_op Date: Sun, 21 Aug 2022 12:35:13 +0100 Message-Id: <20220821113512.2056409-7-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/x86/include/asm/processor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 356308c73951..175b0e750675 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -27,6 +27,7 @@ struct vm86; #include #include #include +#include #include #include @@ -188,7 +189,6 @@ DECLARE_PER_CPU_READ_MOSTLY(struct cpuinfo_x86, cpu_info); #define cpu_data(cpu) boot_cpu_data #endif -extern const struct seq_operations cpuinfo_op; #define cache_line_size() (boot_cpu_data.x86_cache_alignment) -- 2.37.1