diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-12-07 20:08:38 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-01 18:30:55 -0500 |
commit | 465d2b477f6a0ffe01242561a93e7bf81d67c776 (patch) | |
tree | c5d9f59e974b68d6d813a79422db3e488581f717 /kernel | |
parent | b6887a29441ed5f0728b31ce90c0f0a0427317a3 (diff) |
Suspend: Use common prefix in messages
Make suspend messages start with one common prefix "PM: ".
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index d0cedaa7edf1..56881681f18b 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c | |||
@@ -235,7 +235,7 @@ static int suspend_enter(suspend_state_t state) | |||
235 | BUG_ON(!irqs_disabled()); | 235 | BUG_ON(!irqs_disabled()); |
236 | 236 | ||
237 | if ((error = device_power_down(PMSG_SUSPEND))) { | 237 | if ((error = device_power_down(PMSG_SUSPEND))) { |
238 | printk(KERN_ERR "Some devices failed to power down\n"); | 238 | printk(KERN_ERR "PM: Some devices failed to power down\n"); |
239 | goto Done; | 239 | goto Done; |
240 | } | 240 | } |
241 | 241 | ||
@@ -269,7 +269,7 @@ int suspend_devices_and_enter(suspend_state_t state) | |||
269 | suspend_console(); | 269 | suspend_console(); |
270 | error = device_suspend(PMSG_SUSPEND); | 270 | error = device_suspend(PMSG_SUSPEND); |
271 | if (error) { | 271 | if (error) { |
272 | printk(KERN_ERR "Some devices failed to suspend\n"); | 272 | printk(KERN_ERR "PM: Some devices failed to suspend\n"); |
273 | goto Resume_console; | 273 | goto Resume_console; |
274 | } | 274 | } |
275 | 275 | ||
@@ -352,7 +352,7 @@ static int enter_state(suspend_state_t state) | |||
352 | if (!mutex_trylock(&pm_mutex)) | 352 | if (!mutex_trylock(&pm_mutex)) |
353 | return -EBUSY; | 353 | return -EBUSY; |
354 | 354 | ||
355 | printk("Syncing filesystems ... "); | 355 | printk(KERN_INFO "PM: Syncing filesystems ... "); |
356 | sys_sync(); | 356 | sys_sync(); |
357 | printk("done.\n"); | 357 | printk("done.\n"); |
358 | 358 | ||