diff options
author | kib <kib@FreeBSD.org> | 2012-01-30 19:31:17 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-01-30 19:31:17 +0000 |
commit | 9b85c8ca68ad06d8aa2171c1924bded8cbbcc623 (patch) | |
tree | 078d770d32be57475a0db6b4185115c4c86bf2b2 /sys/powerpc/aim | |
parent | 2e6fa9691565d92c5697a2483896442a8a9bdbab (diff) | |
download | FreeBSD-src-9b85c8ca68ad06d8aa2171c1924bded8cbbcc623.zip FreeBSD-src-9b85c8ca68ad06d8aa2171c1924bded8cbbcc623.tar.gz |
Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.
MFC after: 2 months
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r-- | sys/powerpc/aim/mmu_oea64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index efe091f..84680b6 100644 --- a/sys/powerpc/aim/mmu_oea64.c +++ b/sys/powerpc/aim/mmu_oea64.c @@ -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; } |