Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 23:07:51 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r237150 - stable/9/sys/powerpc/aim
Message-ID:  <201206152307.q5FN7piK008900@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Fri Jun 15 23:07:51 2012
New Revision: 237150
URL: http://svn.freebsd.org/changeset/base/237150

Log:
  MFC r230779:
  Fix build for the case of powerpc64 kernel without COMPAT_FREEBSD32.
  
  Pointy hat to:	kib

Modified:
  stable/9/sys/powerpc/aim/mmu_oea64.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/powerpc/aim/mmu_oea64.c
==============================================================================
--- stable/9/sys/powerpc/aim/mmu_oea64.c	Fri Jun 15 22:56:28 2012	(r237149)
+++ stable/9/sys/powerpc/aim/mmu_oea64.c	Fri Jun 15 23:07:51 2012	(r237150)
@@ -114,6 +114,7 @@ __FBSDID("$FreeBSD$");
  * correct.
  */
 
+#include "opt_compat.h"
 #include "opt_kstack_pages.h"
 
 #include <sys/param.h>
@@ -1469,7 +1470,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?201206152307.q5FN7piK008900>