lkml.org 
[lkml]   [2008]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/4] x86 PM: Update stale comments
Date
From: Rafael J. Wysocki <rjw@sisk.pl>

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@sisk.pl>
---
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);

/*

\
 
 \ /
  Last update: 2008-02-03 22:05    [W:0.065 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site