From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753053AbcGOIeh (ORCPT ); Fri, 15 Jul 2016 04:34:37 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:33435 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753037AbcGOIef (ORCPT ); Fri, 15 Jul 2016 04:34:35 -0400 Date: Fri, 15 Jul 2016 10:34:30 +0200 From: Ingo Molnar To: Wei Jiangang Cc: linux-kernel@vger.kernel.org, x86@kernel.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, bp@suse.de, adrian.hunter@intel.com, a.p.zijlstra@chello.nl Subject: Re: [PATCH] x86/tsc: remove the unused check_tsc_disabled() Message-ID: <20160715083430.GA1056@gmail.com> References: <1468570330-25810-1-git-send-email-weijg.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1468570330-25810-1-git-send-email-weijg.fnst@cn.fujitsu.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Wei Jiangang wrote: > check_tsc_disabled() was introduced by commit c73deb6aecda ("perf/x86: > Add ability to calculate TSC from perf sample timestamps"). > The only caller arch_perf_update_userpage() had been refactored > by commit fa9cbf320e99 ("perf/x86: Move perf_event.c ............... > => x86/events/core.c"). > so no need keep and export it any more. No, it wasn't refactored by fa9cbf320e99, but by: d8b11a0cbd1c perf/x86: Clean up cap_user_time* setting I've fixed the changelog. Thanks, Ingo