Author: jhb
Date: Tue May 19 19:01:22 2015
New Revision: 283121
URL: https://svnweb.freebsd.org/changeset/base/283121

Log:
  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

Modified:
  head/sys/dev/hwpmc/hwpmc_core.c

Modified: head/sys/dev/hwpmc/hwpmc_core.c
==============================================================================
--- head/sys/dev/hwpmc/hwpmc_core.c     Tue May 19 18:58:18 2015        
(r283120)
+++ head/sys/dev/hwpmc/hwpmc_core.c     Tue May 19 19:01:22 2015        
(r283121)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to