Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jul 2005 12:53:18 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 80257 for review
Message-ID:  <200507151253.j6FCrIkb095754@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=80257

Change 80257 by jhb@jhb_blue on 2005/07/15 12:52:59

	Really fix.

Affected files ...

.. //depot/projects/smpng/sys/dev/hwpmc/hwpmc_mod.c#6 edit

Differences ...

==== //depot/projects/smpng/sys/dev/hwpmc/hwpmc_mod.c#6 (text+ko) ====

@@ -771,7 +771,8 @@
 
 	LIST_INSERT_HEAD(&pm->pm_targets, pt, pt_next);
 
-	atomic_store_rel_ptr((uintptr_t *)&pp->pp_pmcs[ri].pp_pmc, pm);
+	atomic_store_rel_ptr((uintptr_t *)&pp->pp_pmcs[ri].pp_pmc,
+	    (uintptr_t)pm);
 
 	if (pm->pm_owner->po_owner == pp->pp_proc)
 		pm->pm_flags |= PMC_F_ATTACHED_TO_OWNER;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507151253.j6FCrIkb095754>