PATCH: [was Re: 2.3.22pre2 ksyms.c daemonize]

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 15 Oct 1999 01:58:54 +0100 (BST)


> ksyms.c:367: `daemonize' undeclared here (not in a function)
> ksyms.c:367: initializer element is not a constant (near initialization
> for `__ksymtab_daemonize.value')
> gcc-2.95.1

diff -u --new-file --recursive --exclude-from ../exclude linux.22p1/include/linux/sched.h linux.ac/include/linux/sched.h
--- linux.22p1/include/linux/sched.h Thu Oct 14 19:19:20 1999
+++ linux.ac/include/linux/sched.h Thu Oct 14 19:52:38 1999
@@ -648,6 +648,10 @@
/* Remove the current tasks stale references to the old mm_struct */
extern void mm_release(void);

+/* flush all the user space tied resources of a thread */
+
+extern void daemonize(void);
+
/*
* Routines for handling the fd arrays
*/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/