Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2014 19:04:05 GMT
From:      op@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r273495 - soc2014/op/freebsd-base/sys/x86/include
Message-ID:  <201409021904.s82J453K031176@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: op
Date: Tue Sep  2 19:04:04 2014
New Revision: 273495
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=273495

Log:
  SMAP: fix build world
  
  Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>
  
  git: https://github.com/opntr/opBSD/tree/op/gsoc2014/smap+kpatch

Modified:
  soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h

Modified: soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h
==============================================================================
--- soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h	Tue Sep  2 18:57:19 2014	(r273494)
+++ soc2014/op/freebsd-base/sys/x86/include/selfpatch-asmacros.h	Tue Sep  2 19:04:04 2014	(r273495)
@@ -30,7 +30,9 @@
 #ifndef	__X86_SELFPATCH_ASMACROS_H__
 #define	__X86_SELFPATCH_ASMACROS_H__
 
+#ifdef _KERNEL
 #include "opt_cpu.h"
+#endif
 
 #define KSP_CPUID		1
 #define KSP_CPUID2		2



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