From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751122AbdKHJmO (ORCPT ); Wed, 8 Nov 2017 04:42:14 -0500 Received: from mail-wr0-f195.google.com ([209.85.128.195]:56567 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751141AbdKHJmI (ORCPT ); Wed, 8 Nov 2017 04:42:08 -0500 X-Google-Smtp-Source: ABhQp+TkozMSxiudrmKqg8EJCegFL/McJw9XSBZbQWXROZfIJzpkKmL0g+gITUHRUQy8puMe1m/vWQ== Date: Wed, 8 Nov 2017 10:42:04 +0100 From: Ingo Molnar To: Dou Liyang Cc: x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, peterz@infradead.org Subject: Re: [PATCH 0/2] Clean up for tsc_init() Message-ID: <20171108094204.z23qlgnhq4f72qzi@gmail.com> References: <1510133635-23254-1-git-send-email-douly.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1510133635-23254-1-git-send-email-douly.fnst@cn.fujitsu.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Dou Liyang wrote: > 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(-) This should really be a single patch, but other than that: Reviewed-by: Ingo Molnar Thanks, Ingo