From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751682AbdKHJeI (ORCPT ); Wed, 8 Nov 2017 04:34:08 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:3472 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751408AbdKHJeF (ORCPT ); Wed, 8 Nov 2017 04:34:05 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="30010357" From: Dou Liyang To: , CC: , , , , Dou Liyang Subject: [PATCH 0/2] Clean up for tsc_init() Date: Wed, 8 Nov 2017 17:33:53 +0800 Message-ID: <1510133635-23254-1-git-send-email-douly.fnst@cn.fujitsu.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 363C748089C4.AD1AB X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org cyc2ns_init() and detect_art() which is invoked in tsc_init(), are only called during boot time. So they should be a "__init" function. Dou Liyang (2): x86/tsc: Mark cyc2ns_init() __init x86/tsc: Mark detect_art() __init arch/x86/kernel/tsc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.5.5