Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2012 19:31:17 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r230779 - head/sys/powerpc/aim
Message-ID:  <201201301931.q0UJVHw1099192@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201301931.q0UJVHw1099192>