svn commit: r230779 - head/sys/powerpc/aim
Konstantin Belousov
kib at FreeBSD.org
Mon Jan 30 19:31:18 UTC 2012
Author: kib
Date: Mon Jan 30 19:31:17 2012
New Revision: 230779
URL: http://svn.freebsd.org/changeset/base/230779
Log:
Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.
MFC after: 2 months
Modified:
head/sys/powerpc/aim/mmu_oea64.c
Modified: head/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- head/sys/powerpc/aim/mmu_oea64.c Mon Jan 30 19:19:22 2012 (r230778)
+++ head/sys/powerpc/aim/mmu_oea64.c Mon Jan 30 19:31:17 2012 (r230779)
@@ -114,6 +114,7 @@ __FBSDID("$FreeBSD$");
* correct.
*/
+#include "opt_compat.h"
#include "opt_kstack_pages.h"
#include <sys/param.h>
@@ -1466,7 +1467,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-head
mailing list