summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/pmap.c
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-22 16:57:42 +0000
committerpfg <pfg@FreeBSD.org>2016-04-22 16:57:42 +0000
commitb4106812fd1c346ae831c1eb688667161c4e60bb (patch)
tree7803bf8af81703bf32df733b7c34c420e33402e5 /sys/amd64/amd64/pmap.c
parent2b13469532a58b64cb4ffe5d52467db287a68a31 (diff)
downloadFreeBSD-src-b4106812fd1c346ae831c1eb688667161c4e60bb.zip
FreeBSD-src-b4106812fd1c346ae831c1eb688667161c4e60bb.tar.gz
Cleanup redundant parenthesis from existing howmany()/roundup() macro uses.
Diffstat (limited to 'sys/amd64/amd64/pmap.c')
-rw-r--r--sys/amd64/amd64/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index dedf9e5..486ec39 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -676,7 +676,7 @@ allocpages(vm_paddr_t *firstaddr, int n)
CTASSERT(powerof2(NDMPML4E));
/* number of kernel PDP slots */
-#define NKPDPE(ptpgs) howmany((ptpgs), NPDEPG)
+#define NKPDPE(ptpgs) howmany(ptpgs, NPDEPG)
static void
nkpt_init(vm_paddr_t addr)
OpenPOWER on IntegriCloud