Author: marcel Date: Sat Jun 25 17:58:35 2011 New Revision: 223544 URL: http://svn.freebsd.org/changeset/base/223544
Log: Oops. The sec field of struct bintime is *not* a 32-bit type. It's time_t, which is 64 bits on ia64. Modified: head/sys/ia64/ia64/clock.c Modified: head/sys/ia64/ia64/clock.c ============================================================================== --- head/sys/ia64/ia64/clock.c Sat Jun 25 17:01:46 2011 (r223543) +++ head/sys/ia64/ia64/clock.c Sat Jun 25 17:58:35 2011 (r223544) @@ -185,7 +185,7 @@ clock_configure(void *dummy) et->et_frequency = itc_freq; et->et_min_period.sec = 0; et->et_min_period.frac = (0x8000000000000000ul / (u_long)(10*hz)) << 1; - et->et_max_period.sec = ~0ul; /* XXX unless itc_freq >= (1<<32) */ + et->et_max_period.sec = 0xffffffff; et->et_max_period.frac = ((0xfffffffeul << 32) / itc_freq) << 32; et->et_start = ia64_clock_start; et->et_stop = ia64_clock_stop; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"