Date: Thu, 7 Jun 2018 02:20:28 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334750 - head/sys/dev/hwpmc Message-ID: <201806070220.w572KSSp098945@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mmacy Date: Thu Jun 7 02:20:27 2018 New Revision: 334750 URL: https://svnweb.freebsd.org/changeset/base/334750 Log: hwpmc: don't do EMIT64 on constant Modified: head/sys/dev/hwpmc/hwpmc_logging.c Modified: head/sys/dev/hwpmc/hwpmc_logging.c ============================================================================== --- head/sys/dev/hwpmc/hwpmc_logging.c Thu Jun 7 02:03:22 2018 (r334749) +++ head/sys/dev/hwpmc/hwpmc_logging.c Thu Jun 7 02:20:27 2018 (r334750) @@ -739,7 +739,8 @@ pmclog_configure_log(struct pmc_mdep *md, struct pmc_o PMCLOG_EMIT64(tsc_freq); #else /* other architectures will need to fill this in */ - PMCLOG_EMIT64(0); + PMCLOG_EMIT32(0); + PMCLOG_EMIT32(0); #endif memcpy(_le, &ts, sizeof(ts)); _le += sizeof(ts)/4;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806070220.w572KSSp098945>