Skip to contentSkip to conversation

swsusp cleanups

PATCH Pavel Machek 1 participant 1 message May 23, 2002

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi!

These are cleanups. They do not change any code, except killing printk's. Please apply.
Pavel

Documentation/swsusp.txt +0 -1
@@ -138,7 +138,6 @@
 Not so important ideas for implementing
 
 - If a real time process is running then don't suspend the machine.
-- Is there any sense in compressing the outwritten pages?
 - Support for power.conf file as in Solaris, autoshutdown, special
   devicetypes support, maybe in sysctl.
 - Introduce timeout for SMP locking. But first locking ought to work :O
arch/i386/kernel/acpi_wakeup.S +0 -5
@@ -17,11 +17,6 @@
 	cli
 	cld
 	  
-# setup video mode
-#	movw	$0x4117, %bx		# 0x4000 for linear framebuffer
-#	movw	$0x4f02, %ax
-#	int	$0x10
-
 	# setup data segment
 	movw	%cs, %ax
 
drivers/acpi/acpi_system.c +0 -4
@@ -271,11 +272,9 @@
 		break;
 	}
 
-	printk("acpi_restore_register_state...");
 	acpi_restore_register_state();
 	restore_flags(flags);
 
-	printk("acpi returning...");
 	return status;
 }
 
@@ -322,9 +321,7 @@
 	 * no matter what.
 	 */
 	acpi_system_restore_state(state);
-	printk("acpi_leave_sleep_state...");
 	acpi_leave_sleep_state(state);
-	printk("ook\n");
 
 	/* make sure interrupts are enabled */
 	ACPI_ENABLE_IRQS();
drivers/pci/power.c +2 -2
@@ -110,7 +110,7 @@
 	return error;
 }
 
-int pci_pm_suspend(u32 state)
+static int pci_pm_suspend(u32 state)
 {
 	struct list_head *list;
 	struct pci_bus *bus;
@@ -123,7 +123,7 @@
 	return 0;
 }
 
-int pci_pm_resume(void)
+static int pci_pm_resume(void)
 {
 	struct list_head *list;
 	struct pci_bus *bus;
include/asm-i386/suspend.h +20 -22

78 lines not on this page · raw message

kernel/suspend.c +7 -71

157 lines not on this page · raw message

Pavel

Signature · 2 lines
(about SSSCA) "I don't say this lightly.  However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa