lkml.org 
[lkml]   [2004]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[1/4] move sigqueue to signal.h
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>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:05    [W:0.054 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site