summaryrefslogtreecommitdiffstats
path: root/sys/amd64/include/param.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-11-16 10:53:04 +0000
committerphk <phk@FreeBSD.org>2009-11-16 10:53:04 +0000
commit6b6ad2f10449a640399fb7690f0c57087d042069 (patch)
tree9c447d3a44b5ec3d2fa148efbc021dd8bdfcaa6d /sys/amd64/include/param.h
parent0f3100cf28d51dfe59ee4db0b06ecd48b6aed695 (diff)
downloadFreeBSD-src-6b6ad2f10449a640399fb7690f0c57087d042069.zip
FreeBSD-src-6b6ad2f10449a640399fb7690f0c57087d042069.tar.gz
Uppercase the UL suffix on a constant, so Flexelint doesn't worry that
'u1' might have been intended. No, that does not make sense and yes I have told them.
Diffstat (limited to 'sys/amd64/include/param.h')
-rw-r--r--sys/amd64/include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/include/param.h b/sys/amd64/include/param.h
index 3ede601..c940597 100644
--- a/sys/amd64/include/param.h
+++ b/sys/amd64/include/param.h
@@ -105,7 +105,7 @@
#define NPML4EPG (PAGE_SIZE/(sizeof (pml4_entry_t)))
#define NPML4EPGSHIFT 9 /* LOG2(NPML4EPG) */
#define PML4SHIFT 39 /* LOG2(NBPML4) */
-#define NBPML4 (1ul<<PML4SHIFT)/* bytes/page map lev4 table */
+#define NBPML4 (1UL<<PML4SHIFT)/* bytes/page map lev4 table */
#define PML4MASK (NBPML4-1)
#define MAXPAGESIZES 3 /* maximum number of supported page sizes */
OpenPOWER on IntegriCloud