Use the proper mask when reloading sampling PMCs for Core CPUs.

Differential Revision:	https://reviews.freebsd.org/D2492
Reviewed by:	emaste
MFC after:	1 month
This commit is contained in:
John Baldwin 2015-05-19 19:01:22 +00:00
parent 0ceb54c2cf
commit 2b1df86c17
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283121

View File

@ -2588,7 +2588,7 @@ core_intr(int cpu, struct trapframe *tf)
TRAPF_USERMODE(tf));
v = pm->pm_sc.pm_reloadcount;
v = iaf_reload_count_to_perfctr_value(v);
v = iap_reload_count_to_perfctr_value(v);
/*
* Stop the counter, reload it but only restart it if