* [PATCH 2/5] Move root swap declaration.
@ 2010-05-26 7:10 Nigel Cunningham
0 siblings, 0 replies; only message in thread
From: Nigel Cunningham @ 2010-05-26 7:10 UTC (permalink / raw)
To: Rafael J. Wysocki, pm list, LKML, TuxOnIce-devel
Move the declaration of root_swap in preparation for the
next patch.
Signed-off-by: Nigel Cunningham <nigel@tuxonice.net>
---
kernel/power/swap.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index 829f7b4..e555b6c 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -63,6 +63,8 @@ struct swap_map_handle {
unsigned int k;
};
+static unsigned short root_swap = 0xffff;
+
struct swsusp_header {
char reserved[PAGE_SIZE - 20 - sizeof(sector_t) - sizeof(int)];
sector_t image;
@@ -217,7 +219,6 @@ int swsusp_swap_in_use(void)
* General things
*/
-static unsigned short root_swap = 0xffff;
struct block_device *hib_resume_bdev;
/*
--
1.7.0.4
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-26 7:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 7:10 [PATCH 2/5] Move root swap declaration Nigel Cunningham
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox