svn commit: r341103 - head/sys/powerpc/include

Justin Hibbits jhibbits at FreeBSD.org
Wed Nov 28 02:48:45 UTC 2018


Author: jhibbits
Date: Wed Nov 28 02:48:43 2018
New Revision: 341103
URL: https://svnweb.freebsd.org/changeset/base/341103

Log:
  powerpc: Fix the powerpc64 build post-r341102
  
  VM_MIN_KERNEL_ADDRESS is now used in locore.S, but the UL suffix isn't
  permitted in .S files.

Modified:
  head/sys/powerpc/include/vmparam.h

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h	Wed Nov 28 02:00:27 2018	(r341102)
+++ head/sys/powerpc/include/vmparam.h	Wed Nov 28 02:48:43 2018	(r341103)
@@ -106,8 +106,13 @@
 #define	FREEBSD32_USRSTACK	FREEBSD32_SHAREDPAGE
 
 #ifdef __powerpc64__
+#ifndef LOCORE
 #define	VM_MIN_KERNEL_ADDRESS		0xe000000000000000UL
 #define	VM_MAX_KERNEL_ADDRESS		0xe0000007ffffffffUL
+#else
+#define	VM_MIN_KERNEL_ADDRESS		0xe000000000000000
+#define	VM_MAX_KERNEL_ADDRESS		0xe0000007ffffffff
+#endif
 #define	VM_MAX_SAFE_KERNEL_ADDRESS	VM_MAX_KERNEL_ADDRESS
 #endif
 


More information about the svn-src-all mailing list