Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 18:55:18 +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: r296948 - head/sys/arm/arm
Message-ID:  <201603161855.u2GItIZ8078734@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Mar 16 18:55:17 2016
New Revision: 296948
URL: https://svnweb.freebsd.org/changeset/base/296948

Log:
  Remove armeb FreeBSD 6 compat shim
  
  r296861 addressed a build failure due to undefined SYS_freebsd6_lseek
  by adding a COMPAT_FREEBSD6 conditional, but we do not support FreeBSD 6
  compatibility on armeb anyway so remove it completely.
  
  Reviewed by:	andrew, bz
  Differential Revision:	https://reviews.freebsd.org/D5643

Modified:
  head/sys/arm/arm/vm_machdep.c

Modified: head/sys/arm/arm/vm_machdep.c
==============================================================================
--- head/sys/arm/arm/vm_machdep.c	Wed Mar 16 18:39:48 2016	(r296947)
+++ head/sys/arm/arm/vm_machdep.c	Wed Mar 16 18:55:17 2016	(r296948)
@@ -191,11 +191,7 @@ cpu_set_syscall_retval(struct thread *td
 		register_t code = ap[_QUAD_LOWWORD];
 		if (td->td_proc->p_sysent->sv_mask)
 			code &= td->td_proc->p_sysent->sv_mask;
-		fixup = (
-#if defined(COMPAT_FREEBSD6) && defined(SYS_freebsd6_lseek)
-		    code != SYS_freebsd6_lseek &&
-#endif
-		    code != SYS_lseek) ? 1 : 0;
+		fixup = (code != SYS_lseek);
 	}
 #endif
 



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