From: Stephen Rothwell <sfr@linuxcare.com.au>
To: torvalds@transmeta.com
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] obvious change to apm.c
Date: Fri, 10 Nov 2000 13:22:49 +1100 [thread overview]
Message-ID: <200011100222.eAA2MoJ10471@wattle.linuxcare.com.au> (raw)
Hi Linus,
Obvious patch since daemonize() now does this stuff.
Cheers,
Stephen
--
Stephen Rothwell, Open Source Researcher, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax
sfr@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.
diff -ruN 2.4.0-test11pre2/arch/i386/kernel/apm.c 2.4.0-test11pre2-sfr/arch/i386/kernel/apm.c
--- 2.4.0-test11pre2/arch/i386/kernel/apm.c Wed Nov 1 09:36:12 2000
+++ 2.4.0-test11pre2-sfr/arch/i386/kernel/apm.c Fri Nov 10 13:20:28 2000
@@ -1422,9 +1422,6 @@
kapmd_running = 1;
- exit_files(current); /* daemonize doesn't do exit_files */
- current->files = init_task.files;
- atomic_inc(¤t->files->count);
daemonize();
strcpy(current->comm, "kapm-idled");
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
reply other threads:[~2000-11-10 2:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200011100222.eAA2MoJ10471@wattle.linuxcare.com.au \
--to=sfr@linuxcare.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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;
as well as URLs for NNTP newsgroup(s).