svn commit: r199319 - head/sys/amd64/include
Poul-Henning Kamp
phk at FreeBSD.org
Mon Nov 16 10:53:04 UTC 2009
Author: phk
Date: Mon Nov 16 10:53:04 2009
New Revision: 199319
URL: http://svn.freebsd.org/changeset/base/199319
Log:
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.
Modified:
head/sys/amd64/include/param.h
Modified: head/sys/amd64/include/param.h
==============================================================================
--- head/sys/amd64/include/param.h Mon Nov 16 09:37:30 2009 (r199318)
+++ head/sys/amd64/include/param.h Mon Nov 16 10:53:04 2009 (r199319)
@@ -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 */
More information about the svn-src-head
mailing list