svn commit: r219211 - stable/8/sys/amd64/include

Dmitry Chagin dchagin at FreeBSD.org
Wed Mar 2 22:44:04 UTC 2011


Author: dchagin
Date: Wed Mar  2 22:44:04 2011
New Revision: 219211
URL: http://svn.freebsd.org/changeset/base/219211

Log:
  Direct commit: fix cryptodev module build when COMPAT_FREEBSD32 option
  is enabled. To avoid header pollution put trapframe declaration here.
  
  Noticed by:	kib
  Pointyhat to:	me

Modified:
  stable/8/sys/amd64/include/reg.h

Modified: stable/8/sys/amd64/include/reg.h
==============================================================================
--- stable/8/sys/amd64/include/reg.h	Wed Mar  2 21:59:53 2011	(r219210)
+++ stable/8/sys/amd64/include/reg.h	Wed Mar  2 22:44:04 2011	(r219211)
@@ -129,6 +129,8 @@ struct dbreg {
 /*
  * XXX these interfaces are MI, so they should be declared in a MI place.
  */
+struct trapframe;
+
 int	fill_regs(struct thread *, struct reg *);
 int	fill_frame_regs(struct trapframe *, struct reg *);
 int	set_regs(struct thread *, struct reg *);


More information about the svn-src-all mailing list