Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Aug 2020 20:08:49 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r364523 - in stable/12/sys: amd64/linux32 i386/linux
Message-ID:  <202008232008.07NK8n3U009535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sun Aug 23 20:08:49 2020
New Revision: 364523
URL: https://svnweb.freebsd.org/changeset/base/364523

Log:
  MFC r356229:
  
  Fix definitions for Linux getcpu(2).
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/sys/amd64/linux32/syscalls.master
  stable/12/sys/i386/linux/syscalls.master
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/sys/amd64/linux32/syscalls.master
==============================================================================
--- stable/12/sys/amd64/linux32/syscalls.master	Sun Aug 23 20:08:05 2020	(r364522)
+++ stable/12/sys/amd64/linux32/syscalls.master	Sun Aug 23 20:08:49 2020	(r364523)
@@ -533,7 +533,8 @@
 ; Linux 2.6.18:
 317	AUE_NULL	STD	{ int linux_move_pages(void); }
 ; Linux 2.6.19:
-318	AUE_NULL	STD	{ int linux_getcpu(void); }
+318	AUE_NULL	STD	{ int linux_getcpu(l_uint *cpu, l_uint *node,	\
+				    void *cache); }
 319	AUE_NULL	STD	{ int linux_epoll_pwait(l_int epfd, struct epoll_event *events, \
 				    l_int maxevents, l_int timeout, l_sigset_t *mask, \
 				    l_size_t sigsetsize); }

Modified: stable/12/sys/i386/linux/syscalls.master
==============================================================================
--- stable/12/sys/i386/linux/syscalls.master	Sun Aug 23 20:08:05 2020	(r364522)
+++ stable/12/sys/i386/linux/syscalls.master	Sun Aug 23 20:08:49 2020	(r364523)
@@ -540,7 +540,8 @@
 ; Linux 2.6.18:
 317	AUE_NULL	STD	{ int linux_move_pages(void); }
 ; Linux 2.6.19:
-318	AUE_NULL	STD	{ int linux_getcpu(void); }
+318	AUE_NULL	STD	{ int linux_getcpu(l_uint *cpu, l_uint *node,	\
+				    void *cache); }
 319	AUE_NULL	STD	{ int linux_epoll_pwait(l_int epfd, struct epoll_event *events, \
 				    l_int maxevents, l_int timeout, l_sigset_t *mask, \
 				    l_size_t sigsetsize); }



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