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)
commit623aab896ee1a532cb540bcf0d5ae8a88275afd5
treeff839554cc1cc2d775ed62e28a3e6a2d54308fd3
parent151f85a471d29fc81f70348143d009a729901bc0
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