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