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;
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to