Received: by 10.223.164.202 with SMTP id h10csp1279382wrb; Wed, 8 Nov 2017 01:35:39 -0800 (PST) X-Google-Smtp-Source: ABhQp+QdJVMZ0F67Ttq+yIM1qdrsxEFKeE1C29o0TlKlSz3agrDhHnW4+X9SFdiOTsXnGfx52gdk X-Received: by 10.99.115.28 with SMTP id o28mr1787417pgc.340.1510133739130; Wed, 08 Nov 2017 01:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510133739; cv=none; d=google.com; s=arc-20160816; b=DUf+F0wV+UqpG8Ac1HHRctZl7EM3QYXR/Aft9J+lD66Wij78OhB7GTgfGhpNb/DsVl 5bhXw/jZWUvVRX0bOzNuLPoWk1CqxqMuhjy0uT7KaVWwn1b20nHwG9HDGyeKSletgUly ZCXhm2Au9lX/mGQ126vFXHJmAUZkdgtjdP+lchWRN7TCYJjHd/Lqh2pYPU5Of27MC0oZ u0La14C8Z8QVzR9PilsqImtcF5fCrDk2i+GK51/wGN6pI8FPnQ2wpC1or9kNk+t+Kzw1 RqPDFZo31uyGMZ9wFChLECCuP2CXgCtuFrGs128sy9Qm6za6qu6S92tssOU/cx7uzdD+ sJ3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=l+apIpZGV1PMXEFUV6YzHPY3j78RdQMjeEWzVAoY1OU=; b=zxmQsZ9QscWX22VC9QR0Fc8CRbwPG+KxsJKh7x2IM1PGlCv5V+OTettx4qB8YTAJ02 uJVP/c3XEIDspJ/AeoHbdT5SsB1FCP19PgDDpLy0Nz+MBvwgSdbEhVGeKrpo0jC9hPt4 5CMamPWFrBu0o3gzn/aAqNN+gH/2lUlb7am2o2QAKZNjSClOKq16UgCwyVQrCSb/kvhw G2/O+u6vtfO8vllCPohargZ0WcCK7jiB3KRlzRk0smo9JulUui1AAT3Ytwdk0IM/kvOX 0fkUvS9o4bCMB2Xsh5/ex3/T8ucITkr4I7SvCL/dhy5tzBKJ4Iy5KibFLnnyRVWv5/tA UBdg== 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 e6si3276243pgn.589.2017.11.08.01.35.26; Wed, 08 Nov 2017 01:35:39 -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 S1751826AbdKHJec (ORCPT + 91 others); Wed, 8 Nov 2017 04:34:32 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:48289 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751141AbdKHJeF (ORCPT ); Wed, 8 Nov 2017 04:34:05 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="30010358" Received: from localhost (HELO cn.fujitsu.com) ([10.167.33.5]) by heian.cn.fujitsu.com with ESMTP; 08 Nov 2017 17:34:02 +0800 Received: from G08CNEXCHPEKD03.g08.fujitsu.local (unknown [10.167.33.85]) by cn.fujitsu.com (Postfix) with ESMTP id AD84548089DE; Wed, 8 Nov 2017 17:33:59 +0800 (CST) Received: from localhost.localdomain.localdomain (10.167.226.106) by G08CNEXCHPEKD03.g08.fujitsu.local (10.167.33.89) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 8 Nov 2017 17:33:59 +0800 From: Dou Liyang To: , CC: , , , , Dou Liyang Subject: [PATCH 2/2] x86/tsc: Mark detect_art() __init Date: Wed, 8 Nov 2017 17:33:55 +0800 Message-ID: <1510133635-23254-3-git-send-email-douly.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.5.5 In-Reply-To: <1510133635-23254-1-git-send-email-douly.fnst@cn.fujitsu.com> References: <1510133635-23254-1-git-send-email-douly.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: AD84548089DE.AEE1D X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com X-Spam-Status: No Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function is only called by tsc_init(), which is an __init function, so mark it __init as well. Signed-off-by: Dou Liyang --- arch/x86/kernel/tsc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index 3e7f186..9b29f39 100644 --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -959,7 +959,7 @@ core_initcall(cpufreq_register_tsc_scaling); /* * If ART is present detect the numerator:denominator to convert to TSC */ -static void detect_art(void) +static void __init detect_art(void) { unsigned int unused[2]; -- 2.5.5 From 1583969009401943697@xxx Mon Nov 13 16:29:22 +0000 2017 X-GM-THRID: 1583794230351753146 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread