From 75ce221fa1603a73152a878db781247bcb372bf6 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Mon, 30 Jan 2012 19:31:17 +0000 Subject: [PATCH] Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32. MFC after: 2 months --- sys/powerpc/aim/mmu_oea64.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c index efe091f6ccc7..84680b687ff1 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 @@ -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; }