|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Make ACPI Cx keyhandler always print some
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1249212565 -3600
# Node ID a23057f52f147919ab99e9c8c327aa15c12c2510
# Parent 091209f1b95cce29767f06bc351e52b1d7b91169
Make ACPI Cx keyhandler always print something
...so that from a serial log you can tell the difference between not
pressing the key and not having anything interestying to print.
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
---
xen/arch/x86/acpi/cpu_idle.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 091209f1b95c -r a23057f52f14 xen/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c Sun Aug 02 12:28:22 2009 +0100
+++ b/xen/arch/x86/acpi/cpu_idle.c Sun Aug 02 12:29:25 2009 +0100
@@ -102,6 +102,7 @@ static void dump_cx(unsigned char key)
{
unsigned int cpu;
+ printk("'%c' pressed -> printing ACPI Cx structures\n", key);
for_each_online_cpu ( cpu )
if (processor_powers[cpu])
print_acpi_power(cpu, processor_powers[cpu]);
@@ -110,7 +111,7 @@ static int __init cpu_idle_key_init(void
static int __init cpu_idle_key_init(void)
{
register_keyhandler(
- 'c', dump_cx, "dump cx structures");
+ 'c', dump_cx, "dump ACPI Cx structures");
return 0;
}
__initcall(cpu_idle_key_init);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Make ACPI Cx keyhandler always print something,
Xen patchbot-unstable <=
|
|
|
|
|