perf/x86/msr: Fix the MSR driver build
commit82819ffb42fb45197bacf3223191deca31d3eb91
authorIngo Molnar <mingo@kernel.org>
Fri, 21 Aug 2015 06:14:46 +0000 (21 08:14 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 21 Aug 2015 06:17:01 +0000 (21 08:17 +0200)
tree7e4d872981d3e7c6cbd9bc7f8bf637b6605a55c8
parentdd2281be03a7f4d3f249a733913a9ebb36e721f4
perf/x86/msr: Fix the MSR driver build

The new MSR PMU driver made use of rdtsc() which does not exist (yet) in
this tree:

  arch/x86/kernel/cpu/perf_event_msr.c:91:3: error: implicit declaration of function 'rdtsc'

Use the old rdtscll() primitive for now.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/cpu/perf_event_msr.c