Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2019 18:22:52 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354118 - head/sys/amd64/include
Message-ID:  <201910261822.x9QIMqN0086866@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Sat Oct 26 18:22:52 2019
New Revision: 354118
URL: https://svnweb.freebsd.org/changeset/base/354118

Log:
  Provide dummy definition of the amd64 struct pcb for -m32 compilation.
  
  I do not see a need in the proper x86/include/pcb.h header.
  
  Reported and tested by:	antoine
  MFC after:	1 week

Modified:
  head/sys/amd64/include/pcb.h

Modified: head/sys/amd64/include/pcb.h
==============================================================================
--- head/sys/amd64/include/pcb.h	Sat Oct 26 17:51:43 2019	(r354117)
+++ head/sys/amd64/include/pcb.h	Sat Oct 26 18:22:52 2019	(r354118)
@@ -116,6 +116,10 @@ struct susppcb {
 	/* fpu context for suspend/resume */
 	void		*sp_fpususpend;
 };
+#else	/* 32bit */
+struct pcb {
+	uint64_t pcb_dummy[40];
+};
 #endif
 
 #ifdef _KERNEL



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