Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2009 05:08:58 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r200348 - projects/ppc64/sys/powerpc/include
Message-ID:  <200912100508.nBA58wYM051539@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nwhitehorn
Date: Thu Dec 10 05:08:58 2009
New Revision: 200348
URL: http://svn.freebsd.org/changeset/base/200348

Log:
  Fix some module building. Long way to go here.

Modified:
  projects/ppc64/sys/powerpc/include/elf.h
  projects/ppc64/sys/powerpc/include/reg.h

Modified: projects/ppc64/sys/powerpc/include/elf.h
==============================================================================
--- projects/ppc64/sys/powerpc/include/elf.h	Thu Dec 10 04:27:10 2009	(r200347)
+++ projects/ppc64/sys/powerpc/include/elf.h	Thu Dec 10 05:08:58 2009	(r200348)
@@ -134,7 +134,9 @@ __ElfType(Auxinfo);
 #include <sys/proc.h>
 #include <sys/procfs.h>
 
+#ifndef KLD_MODULE
 #include "opt_compat.h"
+#endif
 
 #ifdef COMPAT_PPC32
 /*

Modified: projects/ppc64/sys/powerpc/include/reg.h
==============================================================================
--- projects/ppc64/sys/powerpc/include/reg.h	Thu Dec 10 04:27:10 2009	(r200347)
+++ projects/ppc64/sys/powerpc/include/reg.h	Thu Dec 10 05:08:58 2009	(r200348)
@@ -4,7 +4,7 @@
 #ifndef _POWERPC_REG_H_
 #define	_POWERPC_REG_H_
 
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(KLD_MODULE)
 #include "opt_compat.h"
 #endif
 



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