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

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

Change 80256 by jhb@jhb_slimer on 2005/07/15 12:43:46

	Catch up to atomic_foo_ptr() changes.

Affected files ...

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

Differences ...

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

@@ -771,7 +771,7 @@
 
 	LIST_INSERT_HEAD(&pm->pm_targets, pt, pt_next);
 
-	atomic_store_rel_ptr(&pp->pp_pmcs[ri].pp_pmc, pm);
+	atomic_store_rel_ptr((uintptr_t *)&pp->pp_pmcs[ri].pp_pmc, 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?200507151244.j6FCi6p0088262>