Re: [RFC 14/15] PM / Hibernate: dealign swsusp_info

Previous thread: Re: [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc by Pavan Savoy on Tuesday, March 23, 2010 - 8:55 am. (2 messages)

Next thread: [RFC 06/15] PM / Hibernate: swap, remove swap_map_handle usages by Jiri Slaby on Tuesday, March 23, 2010 - 9:17 am. (4 messages)
From: Jiri Slaby
Date: Tuesday, March 23, 2010 - 9:17 am

From: Jiri Slaby <jirislaby@gmail.com>

Now there is no need to have swsusp_info page aligned thanks to chunk
i/o support. We may add more info after it on the very same page.
Later...

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Nigel Cunningham <ncunningham@crca.org.au>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
---
 kernel/power/power.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kernel/power/power.h b/kernel/power/power.h
index 842d27b..cf1450f 100644
--- a/kernel/power/power.h
+++ b/kernel/power/power.h
@@ -13,7 +13,7 @@ struct swsusp_info {
 	unsigned long		image_pages;
 	unsigned long		pages;
 	unsigned long		size;
-} __attribute__((aligned(PAGE_SIZE)));
+};
 
 #ifdef CONFIG_HIBERNATION
 #ifdef CONFIG_ARCH_HIBERNATION_HEADER
-- 
1.7.0.2


--

From: Rafael J. Wysocki
Date: Thursday, March 25, 2010 - 3:46 pm

Fine by me.


--

Previous thread: Re: [PATCH 2/6] drivers:misc: Kconfig, Makefile for TI's ST ldisc by Pavan Savoy on Tuesday, March 23, 2010 - 8:55 am. (2 messages)

Next thread: [RFC 06/15] PM / Hibernate: swap, remove swap_map_handle usages by Jiri Slaby on Tuesday, March 23, 2010 - 9:17 am. (4 messages)