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 *);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to