[PATCH 4/4] x86 PM: Update stale comments

From: Rafael J. Wysocki
Date: Sun Feb 03 2008 - 16:03:21 EST


From: Rafael J. Wysocki <rjw@xxxxxxx>

In some suspend and hibernation files in arch/x86/power there are
comments referring to arch/x86-64 and arch/i386 . Update them to
reflect the current code layout.

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
---
arch/x86/power/hibernate_32.c | 4 ++--
arch/x86/power/hibernate_64.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)

Index: linux-2.6/arch/x86/power/hibernate_32.c
===================================================================
--- linux-2.6.orig/arch/x86/power/hibernate_32.c
+++ linux-2.6/arch/x86/power/hibernate_32.c
@@ -13,7 +13,7 @@
#include <asm/page.h>
#include <asm/pgtable.h>

-/* Defined in arch/i386/power/swsusp.S */
+/* Defined in hibernate_asm_32.S */
extern int restore_image(void);

/* References to section boundaries */
@@ -23,7 +23,7 @@ extern const void __nosave_begin, __nosa
pgd_t *resume_pg_dir;

/* The following three functions are based on the analogous code in
- * arch/i386/mm/init.c
+ * arch/x86/mm/init_32.c
*/

/*
Index: linux-2.6/arch/x86/power/hibernate_64.c
===================================================================
--- linux-2.6.orig/arch/x86/power/hibernate_64.c
+++ linux-2.6/arch/x86/power/hibernate_64.c
@@ -18,7 +18,7 @@
/* References to section boundaries */
extern const void __nosave_begin, __nosave_end;

-/* Defined in arch/x86_64/kernel/suspend_asm.S */
+/* Defined in hibernate_asm_64.S */
extern int restore_image(void);

/*
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/