Skip to contentSkip to conversation

Move root swap declaration.

PATCH In review Nigel Cunningham 1 participant 1 message May 26, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/5 Move root swap declaration.

Move the declaration of root_swap in preparation for the next patch.

---
 kernel/power/swap.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
kernel/power/swap.c +2 -1
index 829f7b4..e555b6c 100644
@@ -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;
 
 /*
Signature · 1 line
1.7.0.4