mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] swsusp section usage
@ 2004-03-08  3:32 Randy.Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2004-03-08  3:32 UTC (permalink / raw)
  To: pavel; +Cc: lkml

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-08  4:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-08  3:32 [PATCH] swsusp section usage Randy.Dunlap

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®