svn commit: r237150 - stable/9/sys/powerpc/aim
Konstantin Belousov
kib at FreeBSD.org
Fri Jun 15 23:07:52 UTC 2012
Author: kib
Date: Fri Jun 15 23:07:51 2012
New Revision: 237150
URL: http://svn.freebsd.org/changeset/base/237150
Log:
MFC r230779:
Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.
Pointy hat to: kib
Modified:
stable/9/sys/powerpc/aim/mmu_oea64.c
Directory Properties:
stable/9/sys/ (props changed)
Modified: stable/9/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- stable/9/sys/powerpc/aim/mmu_oea64.c Fri Jun 15 22:56:28 2012 (r237149)
+++ stable/9/sys/powerpc/aim/mmu_oea64.c Fri Jun 15 23:07:51 2012 (r237150)
@@ -114,6 +114,7 @@ __FBSDID("$FreeBSD$");
* correct.
*/
+#include "opt_compat.h"
#include "opt_kstack_pages.h"
#include <sys/param.h>
@@ -1469,7 +1470,9 @@ moea64_init(mmu_t mmu)
uma_zone_set_allocf(moea64_mpvo_zone,moea64_uma_page_alloc);
}
+#ifdef COMPAT_FREEBSD32
elf32_nxstack = 1;
+#endif
moea64_initialized = TRUE;
}
More information about the svn-src-stable
mailing list