Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 May 2012 15:05:19 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r235442 - in stable/8/sys: amd64/amd64 amd64/ia32 arm/arm i386/conf i386/i386 ia64/ia64 kern pc98/pc98 powerpc/aim powerpc/booke sparc64/sparc64 sun4v/sun4v sys
Message-ID:  <201205141505.q4EF5JNh038203@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon May 14 15:05:18 2012
New Revision: 235442
URL: http://svn.freebsd.org/changeset/base/235442

Log:
  MFC 209613:
  Move prototypes for kern_sigtimedwait() and kern_sigprocmask() to
  <sys/syscallsubr.h> where all other kern_<syscall> prototypes live.

Modified:
  stable/8/sys/amd64/amd64/machdep.c
  stable/8/sys/amd64/ia32/ia32_signal.c
  stable/8/sys/arm/arm/machdep.c
  stable/8/sys/i386/i386/machdep.c
  stable/8/sys/ia64/ia64/machdep.c
  stable/8/sys/kern/kern_context.c
  stable/8/sys/kern/subr_trap.c
  stable/8/sys/pc98/pc98/machdep.c
  stable/8/sys/powerpc/aim/machdep.c
  stable/8/sys/powerpc/booke/machdep.c
  stable/8/sys/sparc64/sparc64/machdep.c
  stable/8/sys/sun4v/sun4v/machdep.c
  stable/8/sys/sys/signalvar.h
  stable/8/sys/sys/syscallsubr.h
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/boot/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/e1000/   (props changed)
  stable/8/sys/i386/conf/XENHVM   (props changed)

Modified: stable/8/sys/amd64/amd64/machdep.c
==============================================================================
--- stable/8/sys/amd64/amd64/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/amd64/amd64/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/reboot.h>
 #include <sys/sched.h>
 #include <sys/signalvar.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>

Modified: stable/8/sys/amd64/ia32/ia32_signal.c
==============================================================================
--- stable/8/sys/amd64/ia32/ia32_signal.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/amd64/ia32/ia32_signal.c	Mon May 14 15:05:18 2012	(r235442)
@@ -55,6 +55,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/stat.h>
 #include <sys/sx.h>
 #include <sys/syscall.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/vnode.h>

Modified: stable/8/sys/arm/arm/machdep.c
==============================================================================
--- stable/8/sys/arm/arm/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/arm/arm/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/pcpu.h>
 #include <sys/ptrace.h>
 #include <sys/signalvar.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
 #include <sys/uio.h>

Modified: stable/8/sys/i386/i386/machdep.c
==============================================================================
--- stable/8/sys/i386/i386/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/i386/i386/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/reboot.h>
 #include <sys/sched.h>
 #include <sys/signalvar.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>

Modified: stable/8/sys/ia64/ia64/machdep.c
==============================================================================
--- stable/8/sys/ia64/ia64/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/ia64/ia64/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -58,6 +58,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sched.h>
 #include <sys/signalvar.h>
 #include <sys/syscall.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysproto.h>
 #include <sys/ucontext.h>

Modified: stable/8/sys/kern/kern_context.c
==============================================================================
--- stable/8/sys/kern/kern_context.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/kern/kern_context.c	Mon May 14 15:05:18 2012	(r235442)
@@ -32,6 +32,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/lock.h>
 #include <sys/mutex.h>
 #include <sys/proc.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/systm.h>
 #include <sys/sysproto.h>

Modified: stable/8/sys/kern/subr_trap.c
==============================================================================
--- stable/8/sys/kern/subr_trap.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/kern/subr_trap.c	Mon May 14 15:05:18 2012	(r235442)
@@ -62,6 +62,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sched.h>
 #include <sys/signalvar.h>
 #include <sys/syscall.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/systm.h>
 #include <sys/vmmeter.h>

Modified: stable/8/sys/pc98/pc98/machdep.c
==============================================================================
--- stable/8/sys/pc98/pc98/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/pc98/pc98/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/reboot.h>
 #include <sys/sched.h>
 #include <sys/signalvar.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>

Modified: stable/8/sys/powerpc/aim/machdep.c
==============================================================================
--- stable/8/sys/powerpc/aim/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/powerpc/aim/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -84,6 +84,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/ptrace.h>
 #include <sys/reboot.h>
 #include <sys/signalvar.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysctl.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>

Modified: stable/8/sys/powerpc/booke/machdep.c
==============================================================================
--- stable/8/sys/powerpc/booke/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/powerpc/booke/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -103,6 +103,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/sysctl.h>
 #include <sys/exec.h>
 #include <sys/ktr.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysproto.h>
 #include <sys/signalvar.h>
 #include <sys/sysent.h>

Modified: stable/8/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/sparc64/sparc64/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/reboot.h>
 #include <sys/signalvar.h>
 #include <sys/smp.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
 #include <sys/timetc.h>

Modified: stable/8/sys/sun4v/sun4v/machdep.c
==============================================================================
--- stable/8/sys/sun4v/sun4v/machdep.c	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/sun4v/sun4v/machdep.c	Mon May 14 15:05:18 2012	(r235442)
@@ -67,6 +67,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/reboot.h>
 #include <sys/signalvar.h>
 #include <sys/smp.h>
+#include <sys/syscallsubr.h>
 #include <sys/sysent.h>
 #include <sys/sysproto.h>
 #include <sys/timetc.h>

Modified: stable/8/sys/sys/signalvar.h
==============================================================================
--- stable/8/sys/sys/signalvar.h	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/sys/signalvar.h	Mon May 14 15:05:18 2012	(r235442)
@@ -358,10 +358,7 @@ void	sigqueue_flush(struct sigqueue *que
 void	sigqueue_delete_proc(struct proc *p, int sig);
 void	sigqueue_delete(struct sigqueue *queue, int sig);
 void	sigqueue_take(ksiginfo_t *ksi);
-int	kern_sigtimedwait(struct thread *, sigset_t,
-	    ksiginfo_t *, struct timespec *);
-int	kern_sigprocmask(struct thread *td, int how,
-	    sigset_t *set, sigset_t *oset, int flags);
+
 /*
  * Machine-dependent functions:
  */

Modified: stable/8/sys/sys/syscallsubr.h
==============================================================================
--- stable/8/sys/sys/syscallsubr.h	Mon May 14 14:33:08 2012	(r235441)
+++ stable/8/sys/sys/syscallsubr.h	Mon May 14 15:05:18 2012	(r235442)
@@ -49,6 +49,7 @@ struct stat;
 struct kevent;
 struct kevent_copyops;
 struct kld_file_stat;
+struct ksiginfo;
 struct sendfile_args;
 struct thr_param;
 
@@ -198,7 +199,11 @@ int	kern_shmctl(struct thread *td, int s
 int	kern_sigaction(struct thread *td, int sig, struct sigaction *act,
 	    struct sigaction *oact, int flags);
 int	kern_sigaltstack(struct thread *td, stack_t *ss, stack_t *oss);
+int	kern_sigprocmask(struct thread *td, int how,
+	    sigset_t *set, sigset_t *oset, int flags);
 int	kern_sigsuspend(struct thread *td, sigset_t mask);
+int	kern_sigtimedwait(struct thread *td, sigset_t waitset,
+	    struct ksiginfo *ksi, struct timespec *timeout);
 int	kern_stat(struct thread *td, char *path, enum uio_seg pathseg,
 	    struct stat *sbp);
 int	kern_statat(struct thread *td, int flag, int fd, char *path,



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