svn commit: r361664 - head/sys/amd64/linux

Mark Johnston markj at FreeBSD.org
Sun May 31 18:20:24 UTC 2020


Author: markj
Date: Sun May 31 18:20:20 2020
New Revision: 361664
URL: https://svnweb.freebsd.org/changeset/base/361664

Log:
  Handle getcpu() calls in vsyscall emulation on amd64.
  
  linux_getcpu() has been implemented since r356241.
  
  PR:		246339
  Submitted by:	John Hay <john at sanren.ac.za>
  MFC after:	1 week

Modified:
  head/sys/amd64/linux/linux_sysvec.c

Modified: head/sys/amd64/linux/linux_sysvec.c
==============================================================================
--- head/sys/amd64/linux/linux_sysvec.c	Sun May 31 17:20:17 2020	(r361663)
+++ head/sys/amd64/linux/linux_sysvec.c	Sun May 31 18:20:20 2020	(r361664)
@@ -683,7 +683,7 @@ linux_rt_sendsig(sig_t catcher, ksiginfo_t *ksi, sigse
 const unsigned long linux_vsyscall_vector[] = {
 	LINUX_SYS_gettimeofday,
 	LINUX_SYS_linux_time,
-				/* getcpu not implemented */
+	LINUX_SYS_linux_getcpu,
 };
 
 static int


More information about the svn-src-head mailing list