Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2016 20:29:55 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307688 - head/sys/compat/ia32
Message-ID:  <201610202029.u9KKTtCm079124@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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