]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
x86/tsc: Remove the unused check_tsc_disabled()
authorWei Jiangang <weijg.fnst@cn.fujitsu.com>
Fri, 15 Jul 2016 08:12:10 +0000 (16:12 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 15 Jul 2016 08:35:08 +0000 (10:35 +0200)
commitc48ec42d6eae08f55685ab660f0743ed33b9f22a
treec002b1cfb0f3a6659fdf4d8418aca0cc6107e9fb
parentff4c86635ee12461fd3bd911d7d5253394da8f9d
x86/tsc: Remove the unused check_tsc_disabled()

check_tsc_disabled() was introduced by commit:

  c73deb6aecda ("perf/x86: Add ability to calculate TSC from perf sample timestamps")

The only caller was arch_perf_update_userpage(), which had been refactored
by commit:

  d8b11a0cbd1c ("perf/x86: Clean up cap_user_time* setting")

... so no need keep and export it any more.

Signed-off-by: Wei Jiangang <weijg.fnst@cn.fujitsu.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: a.p.zijlstra@chello.nl
Cc: adrian.hunter@intel.com
Cc: bp@suse.de
Link: http://lkml.kernel.org/r/1468570330-25810-1-git-send-email-weijg.fnst@cn.fujitsu.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/tsc.h
arch/x86/kernel/tsc.c