From: William Lee Irwin III <wli@holomorphy.com>
To: Dave Jones <davej@redhat.com>,
Linux Kernel <linux-kernel@vger.kernel.org>,
Rusty Russell <rusty@rustcorp.com.au>
Subject: [1/4] move sigqueue to signal.h
Date: Wed, 25 Aug 2004 12:42:07 -0700 [thread overview]
Message-ID: <20040825194207.GE2793@holomorphy.com> (raw)
In-Reply-To: <20040825193921.GC2793@holomorphy.com>
On Wed, Aug 25, 2004 at 12:39:21PM -0700, William Lee Irwin III wrote:
> This series removes the dependency of sched.h on signal.h
> Atop the just-posted user bits atop 2.6.8.1-mm4.
Sorry, this is the real 1/4.
Move sigqueue-related bits to include/linux/signal.h
Index: mm4-2.6.8.1/include/linux/sched.h
===================================================================
--- mm4-2.6.8.1.orig/include/linux/sched.h 2004-08-25 11:06:48.162899200 -0700
+++ mm4-2.6.8.1/include/linux/sched.h 2004-08-25 11:11:27.993358504 -0700
@@ -730,10 +730,6 @@
extern int kill_pg(pid_t, int, int);
extern int kill_sl(pid_t, int, int);
extern int kill_proc(pid_t, int, int);
-extern struct sigqueue *sigqueue_alloc(void);
-extern void sigqueue_free(struct sigqueue *);
-extern int send_sigqueue(int, struct sigqueue *, struct task_struct *);
-extern int send_group_sigqueue(int, struct sigqueue *, struct task_struct *);
extern int do_sigaction(int, const struct k_sigaction *, struct k_sigaction *);
extern int do_sigaltstack(const stack_t __user *, stack_t __user *, unsigned long);
Index: mm4-2.6.8.1/include/linux/signal.h
===================================================================
--- mm4-2.6.8.1.orig/include/linux/signal.h 2004-08-25 11:06:48.149901176 -0700
+++ mm4-2.6.8.1/include/linux/signal.h 2004-08-25 11:13:45.762414424 -0700
@@ -214,6 +214,10 @@
extern int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p);
extern long do_sigpending(void __user *, unsigned long);
extern int sigprocmask(int, sigset_t *, sigset_t *);
+struct sigqueue *sigqueue_alloc(void);
+void sigqueue_free(struct sigqueue *);
+int send_sigqueue(int, struct sigqueue *, struct task_struct *);
+int send_group_sigqueue(int, struct sigqueue *, struct task_struct *);
#ifndef HAVE_ARCH_GET_SIGNAL_TO_DELIVER
struct pt_regs;
Index: mm4-2.6.8.1/kernel/posix-timers.c
===================================================================
--- mm4-2.6.8.1.orig/kernel/posix-timers.c 2004-08-25 11:06:48.175897224 -0700
+++ mm4-2.6.8.1/kernel/posix-timers.c 2004-08-25 11:12:37.178840712 -0700
@@ -45,6 +45,7 @@
#include <linux/posix-timers.h>
#include <linux/wait.h>
#include <linux/workqueue.h>
+#include <linux/signal.h>
#ifndef div_long_long_rem
#include <asm/div64.h>
Index: mm4-2.6.8.1/kernel/signal.c
===================================================================
--- mm4-2.6.8.1.orig/kernel/signal.c 2004-08-25 11:06:48.176897072 -0700
+++ mm4-2.6.8.1/kernel/signal.c 2004-08-25 11:12:49.517964880 -0700
@@ -22,6 +22,7 @@
#include <linux/security.h>
#include <linux/ptrace.h>
#include <linux/user.h>
+#include <linux/signal.h>
#include <asm/param.h>
#include <asm/uaccess.h>
#include <asm/unistd.h>
next prev parent reply other threads:[~2004-08-25 19:42 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-19 14:39 includes cleanup Dave Jones
2004-08-19 14:49 ` Christoph Hellwig
2004-08-19 14:54 ` Dave Jones
2004-08-19 16:50 ` Dave Jones
2004-08-19 15:06 ` William Lee Irwin III
2004-08-25 18:01 ` [1/2] convert linux/user.h users to asm/user.h William Lee Irwin III
2004-08-25 18:03 ` [2/2] move user-related stuff to linux/user.h William Lee Irwin III
2004-08-25 19:39 ` [0/4] remove signal.h from sched.h William Lee Irwin III
2004-08-25 19:40 ` [1/4] move sighand_struct to signal.h William Lee Irwin III
2004-08-25 19:42 ` William Lee Irwin III [this message]
2004-08-25 19:43 ` [2/4] move sigpending to sched.h William Lee Irwin III
2004-08-25 19:44 ` [3/4] move sighand to signal.h William Lee Irwin III
2004-08-25 19:45 ` [4/4] move signal_struct " William Lee Irwin III
2004-08-25 21:10 ` [5/4] move most signal functions " William Lee Irwin III
2004-08-25 23:56 ` [patch *] remove 450 unnecessary #includes of sched.h Tim Schmielau
2004-08-20 15:05 ` includes cleanup Tim Schmielau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040825194207.GE2793@holomorphy.com \
--to=wli@holomorphy.com \
--cc=davej@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox