]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
x86 PM: rename 32-bit files in arch/x86/power
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 9 Feb 2008 22:24:09 +0000 (23:24 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 9 Feb 2008 22:24:09 +0000 (23:24 +0100)
Rename cpu.c, suspend.c and swsusp.S in arch/x86/power to cpu_32.c,
hibernate_32.c and hibernate_asm_32.S, respectively, and update the
purpose and copyright information in these files.

Update the Makefile in arch/x86/power to reflect the above changes.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/power/Makefile
arch/x86/power/cpu_32.c [moved from arch/x86/power/cpu.c with 99% similarity]
arch/x86/power/hibernate_32.c [moved from arch/x86/power/suspend.c with 98% similarity]
arch/x86/power/hibernate_asm_32.S [moved from arch/x86/power/swsusp.S with 96% similarity]

index 8ce87fb4abb4cbaf9e666321b9e79c0cc611012c..2c95118e510aeb1df3126e2090cda5a233564959 100644 (file)
@@ -2,6 +2,6 @@ ifeq ($(CONFIG_X86_64),y)
         obj-$(CONFIG_PM)               += suspend_64.o
         obj-$(CONFIG_HIBERNATION)      += hibernate_asm_64.o
 else
-       obj-$(CONFIG_PM)                += cpu.o
-       obj-$(CONFIG_HIBERNATION)       += swsusp.o suspend.o
+       obj-$(CONFIG_PM)                += cpu_32.o
+       obj-$(CONFIG_HIBERNATION)       += hibernate_32.o hibernate_asm_32.o
 endif
similarity index 99%
rename from arch/x86/power/cpu.c
rename to arch/x86/power/cpu_32.c
index efcf620d1439490b7311fe4aa05f6d3ce4f7df75..7f9c6da04a4c143a01f9529125b775052cfb35d1 100644 (file)
@@ -40,7 +40,7 @@ static void __save_processor_state(struct saved_context *ctxt)
        savesegment(ss, ctxt->ss);
 
        /*
-        * control registers 
+        * control registers
         */
        ctxt->cr0 = read_cr0();
        ctxt->cr2 = read_cr2();
similarity index 98%
rename from arch/x86/power/suspend.c
rename to arch/x86/power/hibernate_32.c
index a0020b913f3126afaaa1b6d17dc6246c16894736..5080c377ef12fee730900cdb038f0406042352f0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Suspend support specific for i386 - temporary page tables
+ * Hibernation support specific for i386 - temporary page tables
  *
  * Distribute under GPLv2
  *
similarity index 96%
rename from arch/x86/power/swsusp.S
rename to arch/x86/power/hibernate_asm_32.S
index 53662e05b393e2c294734c71577705a5beb550c0..b95aa6cfe3cb207befad0a4337678317ec1f9606 100644 (file)
@@ -1,7 +1,6 @@
 .text
 
-/* Originally gcc generated, modified by hand
- *
+/*
  * This may not use any stack, nor any variable that is not "NoSave":
  *
  * Its rewriting one kernel image with another. What is stack in "old"