Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.

MFC after:	2 months
This commit is contained in:
Konstantin Belousov 2012-01-30 19:31:17 +00:00
parent 8e9fc27818
commit 75ce221fa1

View File

@ -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;
}