aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-06-07 02:20:27 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-06-07 02:20:27 +0000
commit9616acde97907c811d3ec10668b1cfb60e62d89a (patch)
tree8df69520df37682ea45c0277c67a3c5720d961af /sys/dev
parentf992dd4b5c6635e079c572fe1b59e34f0e28ad6d (diff)
downloadsrc-9616acde97907c811d3ec10668b1cfb60e62d89a.tar.gz
src-9616acde97907c811d3ec10668b1cfb60e62d89a.zip
hwpmc: don't do EMIT64 on constant
Notes
Notes: svn path=/head/; revision=334750
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/hwpmc/hwpmc_logging.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/hwpmc/hwpmc_logging.c b/sys/dev/hwpmc/hwpmc_logging.c
index 2cc42e5096a7..33a3d7d2ac56 100644
--- a/sys/dev/hwpmc/hwpmc_logging.c
+++ b/sys/dev/hwpmc/hwpmc_logging.c
@@ -739,7 +739,8 @@ pmclog_configure_log(struct pmc_mdep *md, struct pmc_owner *po, int logfd)
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;