[2/4] move sigpending to sched.h

From: William Lee Irwin III
Date: Wed Aug 25 2004 - 14:51:19 EST


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.

On Wed, Aug 25, 2004 at 12:42:07PM -0700, William Lee Irwin III wrote:
> Sorry, this is the real 1/4.
> Move sigqueue-related bits to include/linux/signal.h

Move sigpending -related bits to include/linux/sched.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:11:27.993358504 -0700
+++ mm4-2.6.8.1/include/linux/sched.h 2004-08-25 11:43:53.764556320 -0700
@@ -259,6 +259,11 @@
spinlock_t siglock;
};

+struct sigpending {
+ struct list_head list;
+ sigset_t signal;
+};
+
/*
* NOTE! "signal_struct" does not have it's own
* locking, because a shared signal_struct always
Index: mm4-2.6.8.1/include/linux/signal.h
===================================================================
--- mm4-2.6.8.1.orig/include/linux/signal.h 2004-08-25 11:13:45.762414424 -0700
+++ mm4-2.6.8.1/include/linux/signal.h 2004-08-25 11:44:18.280829280 -0700
@@ -25,11 +25,6 @@
/* flags values. */
#define SIGQUEUE_PREALLOC 1

-struct sigpending {
- struct list_head list;
- sigset_t signal;
-};
-
/*
* Define some primitives to manipulate sigset_t.
*/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/