lkml.org 
[lkml]   [2006]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[Suspend2][ 05/13] [Suspend2] Get storage manager space needed in image header.
Date
Get the amount of space in the image header needed by the storage manager.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>

kernel/power/storage.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/kernel/power/storage.c b/kernel/power/storage.c
index c007a8e..5fdcadd 100644
--- a/kernel/power/storage.c
+++ b/kernel/power/storage.c
@@ -148,3 +148,9 @@ static void storage_manager_simulate(voi
printk("--- Storage manager simulate ends ---\n");
}
#endif
+
+static unsigned long usm_storage_needed(void)
+{
+ return strlen(usm_helper_data.program);
+}
+
--
Nigel Cunningham nigel at suspend2 dot net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-27 07:00    [from the cache]
©2003-2011 Jasper Spaans