Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2006 19:27:50 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 92865 for review
Message-ID:  <200603061927.k26JRokZ086920@repoman.freebsd.org>

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

Change 92865 by jhb@jhb_twclab on 2006/03/06 19:26:49

	Compile some more.

Affected files ...

.. //depot/projects/smpng/sys/alpha/alpha/clock.c#24 edit
.. //depot/projects/smpng/sys/alpha/include/pcpu.h#7 edit

Differences ...

==== //depot/projects/smpng/sys/alpha/alpha/clock.c#24 (text+ko) ====

@@ -577,7 +577,7 @@
 	if (pcc_cnt < PCPU_GET(last_pcc_cnt))
 		PCPU_SET(pcc_base, PCPU_GET(pcc_base) + 1);
 	PCPU_SET(last_pcc_cnt, pcc_cnt);
-	return (pcc_cnt | (PCPU_GET(pcc_base) << 32));
+	return (pcc_cnt | ((uint64_t)PCPU_GET(pcc_base) << 32));
 }
 
 int

==== //depot/projects/smpng/sys/alpha/include/pcpu.h#7 (text+ko) ====

@@ -39,8 +39,8 @@
 	u_int64_t	pc_pending_ipis;	/* pending IPI's */	\
 	u_int32_t	pc_next_asn;		/* next ASN to alloc */	\
 	u_int32_t	pc_current_asngen;	/* ASN rollover check */ \
-	u_int32_t	pc_last_ppc_cnt;	/* Previous PCC_CNT value */ \
-	u_int32_t	pc_ppc_base		/* Hi word of cycle count. */
+	u_int32_t	pc_last_pcc_cnt;	/* Previous PCC_CNT value */ \
+	u_int32_t	pc_pcc_base		/* Hi word of cycle count. */
 
 struct pcpu;
 



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