Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2887608imu; Wed, 7 Nov 2018 01:00:19 -0800 (PST) X-Google-Smtp-Source: AJdET5c7s0JEhxMlO8E6118RRKhl13mzNVYj67WorGQwaqREiKcXqo2pGdL2Sl9GcSIaUzGDXk3g X-Received: by 2002:a63:ec4b:: with SMTP id r11mr893103pgj.44.1541581219738; Wed, 07 Nov 2018 01:00:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541581219; cv=none; d=google.com; s=arc-20160816; b=UPfmoZfrEX5q0elEOeXs1UnESzrXUusITaeV+jDAUiqsSPfu2mr2XsmjnJjtIvjDND QV8jSrUN1u5oq3HOguwCH0dqJlZIAjiFuI+v++fSq/ThB/WVOj3T6FjJWXENkMX1DKe2 TYPX3XqZD+3jKKT1J0TXZsjdVZfw9a1NLe/9xP5Hs/k6HLJ7jPMwLR79UJ2tNNqED3qn kfqxvYweaPnYtoK6XR+A0gxRW1CdsZX9AymBGBkzjqnyVGTAAU9zvAOpJAMBkes1/lGp DzuHeN4mFxGn/gjRGqT2n98Lm32T/xsBffhHuFLcBw5gh5EfT+qd4UO4VX+zgq1DAhgP OkxA== 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=Qwf7xLivBpEC4TeRLudBb40tIvJg0xqGZh8PS4O/Tjs=; b=oAaphdx1vdAPA0HalY/DwVuDGRYM2H2voWSfbjmWvJqFuQZUMJv1qGN2hs8ReCegup UKKb++iwodBCd9x9J3VETvJ2cXV1/HnBDXqXEMI2NMQ65nTz3c4ZhCZrkSGvM1TQ3onT 4UKlWGi9ewzw6MTH0Zyv8mhz4kBM+qPYAuLOxQfv7VjPOzgr5fFKbG6p82phjBCq8Xdp 8RRDhlxm8XRdtXVwuOEYFzTE5eiKHDoJaxcVVwwaKMT48bRbv0W5FcvPZ84dmgF6Hw5M +LiCFyCLYY0Q4q2I82TGTwTEAEmiiAcgfGfut64M/17VrfcXpghn+0xybA+yTYLanp4H zImQ== 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 z16-v6si30660116pfd.259.2018.11.07.01.00.04; Wed, 07 Nov 2018 01:00:19 -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 S1730566AbeKGS22 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 7 Nov 2018 13:28:28 -0500 Received: from out1.zte.com.cn ([202.103.147.172]:49228 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726306AbeKGS21 (ORCPT ); Wed, 7 Nov 2018 13:28:27 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 0EA5F53F0717C37BBBB0; Wed, 7 Nov 2018 16:53:00 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wA78qnc4003905; Wed, 7 Nov 2018 16:52:49 +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 2018110716531155-9176894 ; Wed, 7 Nov 2018 16:53:11 +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 2/3] x86/cpu: fix prototype warning in scattered.c Date: Wed, 7 Nov 2018 16:54:36 +0800 Message-Id: <1541580877-45723-3-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:11, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-11-07 16:52:41 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-MAIL: mse01.zte.com.cn wA78qnc4003905 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/scattered.c:37:6: warning: no previous prototype for ‘init_scattered_cpuid_features’ [-Wmissing-prototypes] arch/x86/kernel/cpu/scattered.c:60:5: warning: no previous prototype for ‘get_scattered_cpuid_leaf’ [-Wmissing-prototypes] Signed-off-by: Yi Wang --- arch/x86/kernel/cpu/scattered.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kernel/cpu/scattered.c b/arch/x86/kernel/cpu/scattered.c index 772c219..5b6866f 100644 --- a/arch/x86/kernel/cpu/scattered.c +++ b/arch/x86/kernel/cpu/scattered.c @@ -9,6 +9,8 @@ #include +#include "cpu.h" + struct cpuid_bit { u16 feature; u8 reg; -- 1.8.3.1