summaryrefslogtreecommitdiff
path: root/tools/lib/util/find_next_bit.c
diff options
context:
space:
mode:
authorHarish Chegondi <harish.chegondi@intel.com>2015-12-07 14:32:31 -0800
committerIngo Molnar <mingo@kernel.org>2016-01-06 11:15:37 +0100
commitdae25530a44ad9e6523495ebc8b37bb0a1640490 (patch)
treead2c9925ef0e46a0daaf846d1b2c1d118ae0f696 /tools/lib/util/find_next_bit.c
parent1e7b93906249a7ccca730be03168ace15f95709e (diff)
perf/x86/intel/uncore: Remove hard coding of PMON box control MSR offset
Call uncore_pci_box_ctl() function to get the PMON box control MSR offset instead of hard coding the offset. This would allow us to use this snbep_uncore_pci_init_box() function for other PCI PMON devices whose box control MSR offset is different from SNBEP_PCI_PMON_BOX_CTL. Signed-off-by: Harish Chegondi <harish.chegondi@intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Andi Kleen <andi.kleen@intel.com> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Harish Chegondi <harish.chegondi@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Kan Liang <kan.liang@intel.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Lukasz Anaczkowski <lukasz.anaczkowski@intel.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Vince Weaver <vincent.weaver@maine.edu> Link: http://lkml.kernel.org/r/872e8ef16cfc38e5ff3b45fac1094e6f1722e4ad.1449470704.git.harish.chegondi@intel.com Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/util/find_next_bit.c')
0 files changed, 0 insertions, 0 deletions