Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2887680imu; Wed, 7 Nov 2018 01:00:25 -0800 (PST) X-Google-Smtp-Source: AJdET5f+X2zSIFnWzXi+KNhDKup4jRc1HluBQGnUvaaG7A8ALO9kI+kytFSK0lKGg2qIDY0rFnmS X-Received: by 2002:a17:902:20c5:: with SMTP id v5-v6mr1106513plg.156.1541581225335; Wed, 07 Nov 2018 01:00:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541581225; cv=none; d=google.com; s=arc-20160816; b=Z6qh+iZWvvxHUCZI4ZAZnpqfDP5dEkT3y+YPE6JwI5j7E+MhtoS1erxLo5Dqx5Ouu4 lstGlu9t48O2G84jSv/qgCh2hpbWA5pKngYHuVXx6s4C2lMpIk3FAWnYfXxIjrlYjAyD LBluie/srbVgBQnziKHLWQFFlWRGWTgy49A7s+B4lCuZZ1Hpsnn20GTxdzHogqCTPD9/ 6J1wjIFJXoGWywtaqmjDSfOClU2cqWQxe0JMOnwRBFmGtYEHuehTufbVeZrJuYr2ENYJ wze1cZCrUPUsXWmeJIpxGlBGO415wfdm4ntCVNI1X6US5whT31ofnOu2PqrEXUx4woft SZVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=RA1P84aU04b6OwnL/PoxywFtAM6jJxSJ41S+0WgFj0A=; b=yNK76EhTaSd5R4VXSKWskz9fmaZaRp4ZUx9rGZv0L8VFBUeZ35JbJCI3sgr7gcCVDT SRd6MBtKV6Ceati66DGJjqjn+fkP5KUkAdRd1dCBSf1JThR6bmmd0wwC0XSwiC2hc724 y7BEG8L63pOFh53beAkMaT+7TTjRyQFI92gcEWtps3bcQj9hPp1q7G+wpMsYLtK7StU/ FzfwJZOB6n83BveUO6AW2DlVXRxeZ6gxq4aeLiiDTDPsWOBVEVyEh4qZsv6iL+TO1oCv rP8MeQXqR3iaL0JUBSqD0pyR9CgV4nMH7HvwdqpNWm3g4Pnd5IYdf/1wNmF5paWd6lI6 Y3Bw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f39-v6si18754plb.149.2018.11.07.01.00.10; Wed, 07 Nov 2018 01:00:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730593AbeKGS2b convert rfc822-to-8bit (ORCPT + 99 others); Wed, 7 Nov 2018 13:28:31 -0500 Received: from out1.zte.com.cn ([202.103.147.172]:49380 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726357AbeKGS2a (ORCPT ); Wed, 7 Nov 2018 13:28:30 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 1AF0145A2D8877FC6DCF; Wed, 7 Nov 2018 16:53:01 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wA78qpIY003927; Wed, 7 Nov 2018 16:52:51 +0800 (GMT-8) (envelope-from wang.yi59@zte.com.cn) Received: from fox-host8.localdomain ([10.74.120.8]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018110716531380-9176908 ; Wed, 7 Nov 2018 16:53:13 +0800 From: Yi Wang To: tglx@linutronix.de Cc: mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, suravee.suthikulpanit@amd.com, puwen@hygon.cn, davidwang@zhaoxin.com, wang.yi59@zte.com.cn, linux-kernel@vger.kernel.org, dwmw@amazon.co.uk, gregkh@linuxfoundation.org, thomas.lendacky@amd.com, fenghua.yu@intel.com, pbonzini@redhat.com, konrad.wilk@oracle.com, zhong.weidong@zte.com.cn Subject: [PATCH 3/3] x86/cpu: fix prototype warning in topology.c Date: Wed, 7 Nov 2018 16:54:37 +0800 Message-Id: <1541580877-45723-4-git-send-email-wang.yi59@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1541580877-45723-1-git-send-email-wang.yi59@zte.com.cn> References: <1541580877-45723-1-git-send-email-wang.yi59@zte.com.cn> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-11-07 16:53:13, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-11-07 16:52:43 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-MAIL: mse01.zte.com.cn wA78qpIY003927 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Missing include file causes warning: arch/x86/kernel/cpu/topology.c:25:5: warning: no previous prototype for ‘detect_extended_topology_early’ [-Wmissing-prototypes] arch/x86/kernel/cpu/topology.c:57:5: warning: no previous prototype for ‘detect_extended_topology’ [-Wmissing-prototypes] Signed-off-by: Yi Wang --- arch/x86/kernel/cpu/topology.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/cpu/topology.c b/arch/x86/kernel/cpu/topology.c index 71ca064..8f6c784 100644 --- a/arch/x86/kernel/cpu/topology.c +++ b/arch/x86/kernel/cpu/topology.c @@ -10,6 +10,8 @@ #include #include +#include "cpu.h" + /* leaf 0xb SMT level */ #define SMT_LEVEL 0 -- 1.8.3.1