Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 2020 22:04:44 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r360357 - head/sys/kern
Message-ID:  <202004262204.03QM4iO9012513@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sun Apr 26 22:04:43 2020
New Revision: 360357
URL: https://svnweb.freebsd.org/changeset/base/360357

Log:
  Fix up i386 thread structure layout assertions after r360354.
  
  Reported by:	Jenkins

Modified:
  head/sys/kern/kern_thread.c

Modified: head/sys/kern/kern_thread.c
==============================================================================
--- head/sys/kern/kern_thread.c	Sun Apr 26 20:55:11 2020	(r360356)
+++ head/sys/kern/kern_thread.c	Sun Apr 26 22:04:43 2020	(r360357)
@@ -104,7 +104,7 @@ _Static_assert(offsetof(struct thread, td_pflags) == 0
     "struct thread KBI td_pflags");
 _Static_assert(offsetof(struct thread, td_frame) == 0x2fc,
     "struct thread KBI td_frame");
-_Static_assert(offsetof(struct thread, td_emuldata) == 0x344,
+_Static_assert(offsetof(struct thread, td_emuldata) == 0x340,
     "struct thread KBI td_emuldata");
 _Static_assert(offsetof(struct proc, p_flag) == 0x68,
     "struct proc KBI p_flag");



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