Author: kib
Date: Fri Oct 23 10:24:37 2020
New Revision: 366964
URL: https://svnweb.freebsd.org/changeset/base/366964

Log:
  MFC r366768:
  amd64 pmap.h: explicitly provide constants values instead of relying
  on some more advanced C features.

Modified:
  stable/12/sys/amd64/include/pmap.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/amd64/include/pmap.h
==============================================================================
--- stable/12/sys/amd64/include/pmap.h  Fri Oct 23 10:00:56 2020        
(r366963)
+++ stable/12/sys/amd64/include/pmap.h  Fri Oct 23 10:24:37 2020        
(r366964)
@@ -240,7 +240,7 @@
 #define        PMAP_PCID_OVERMAX_KERN  0x800
 #define        PMAP_PCID_USER_PT       0x800
 
-#define        PMAP_NO_CR3             (~0UL)
+#define        PMAP_NO_CR3             0xffffffffffffffff
 
 #ifndef LOCORE
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to