svn commit: r334750 - head/sys/dev/hwpmc
Matt Macy
mmacy at FreeBSD.org
Thu Jun 7 02:20:28 UTC 2018
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;
More information about the svn-src-all
mailing list