Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2018 02:48:44 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r341103 - head/sys/powerpc/include
Message-ID:  <201811280248.wAS2miqW055485@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811280248.wAS2miqW055485>