PERFORCE change 92865 for review
John Baldwin
jhb at FreeBSD.org
Mon Mar 6 11:27:53 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=92865
Change 92865 by jhb at 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;
More information about the p4-projects
mailing list