From: "Randy.Dunlap" <rddunlap@osdl.org>
To: pavel@suse.cz
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] swsusp section usage
Date: Sun, 7 Mar 2004 19:32:44 -0800 [thread overview]
Message-ID: <20040307193244.2f005af1.rddunlap@osdl.org> (raw)
Hi Pavel,
This patch fixes init section usage in swsusp.c:
"read_suspend_image()" can be __init.
Patch is to 2.6.4-rc2. Please apply.
--
~Randy
diffstat:=
kernel/power/swsusp.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -Naurp ./kernel/power/swsusp.c~swsusp_init ./kernel/power/swsusp.c
--- ./kernel/power/swsusp.c~swsusp_init 2004-03-06 20:57:10.000000000 -0800
+++ ./kernel/power/swsusp.c 2004-03-07 14:10:16.000000000 -0800
@@ -986,7 +986,7 @@ static int __init __read_suspend_image(s
return 0;
}
-static int read_suspend_image(const char * specialfile, int noresume)
+static int __init read_suspend_image(const char * specialfile, int noresume)
{
union diskpage *cur;
unsigned long scratch_page = 0;
reply other threads:[~2004-03-08 4:14 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=20040307193244.2f005af1.rddunlap@osdl.org \
--to=rddunlap@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@suse.cz \
/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
all inboxes | Powered by JetHome®