svn commit: r307688 - head/sys/compat/ia32

Ed Maste emaste at FreeBSD.org
Thu Oct 20 20:29:56 UTC 2016


Author: emaste
Date: Thu Oct 20 20:29:54 2016
New Revision: 307688
URL: https://svnweb.freebsd.org/changeset/base/307688

Log:
  Tidy up ia32_sysvec sv_flags setting
  
  Use the same approach as sys/arm/arm/elf_machdep.c to avoid an odd-
  looking , on a separate line.

Modified:
  head/sys/compat/ia32/ia32_sysvec.c

Modified: head/sys/compat/ia32/ia32_sysvec.c
==============================================================================
--- head/sys/compat/ia32/ia32_sysvec.c	Thu Oct 20 20:16:10 2016	(r307687)
+++ head/sys/compat/ia32/ia32_sysvec.c	Thu Oct 20 20:29:54 2016	(r307688)
@@ -120,13 +120,11 @@ struct sysentvec ia32_freebsd_sysvec = {
 	.sv_setregs	= ia32_setregs,
 	.sv_fixlimit	= ia32_fixlimit,
 	.sv_maxssiz	= &ia32_maxssiz,
-	.sv_flags	= SV_ABI_FREEBSD | SV_IA32 | SV_ILP32 |
+	.sv_flags	=
 #ifdef __amd64__
-		SV_SHP | SV_TIMEKEEP
-#else
-		0
+			  SV_SHP | SV_TIMEKEEP |
 #endif
-	,
+			  SV_ABI_FREEBSD | SV_IA32 | SV_ILP32,
 	.sv_set_syscall_retval = ia32_set_syscall_retval,
 	.sv_fetch_syscall_args = ia32_fetch_syscall_args,
 	.sv_syscallnames = freebsd32_syscallnames,


More information about the svn-src-all mailing list