]> git.baikalelectronics.ru Git - kernel.git/commit
perf, x86: P4 PMU -- do a real check for ESCR address being in hash
authorCyrill Gorcunov <gorcunov@openvz.org>
Tue, 18 May 2010 21:19:17 +0000 (01:19 +0400)
committerIngo Molnar <mingo@elte.hu>
Wed, 19 May 2010 07:41:05 +0000 (09:41 +0200)
commit2c407acae382d37138a5a8d015b901c4b3f737f8
treeff839554cc1cc2d775ed62e28a3e6a2d54308fd3
parent1f5ab97bdc2fed85106bcb26c9c28065a39d83e0
perf, x86: P4 PMU -- do a real check for ESCR address being in hash

To prevent from clashes in future code modifications
do a real check for ESCR address being in hash. At
moment the callers are known to pass sane values but
better to be on a safe side.

And comment fix.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
CC: Lin Ming <ming.m.lin@intel.com>
CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
CC: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20100518212439.004503600@openvz.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_event_p4.c