Make ACPI Cx keyhandler always print something
PATCH 1/1 Make ACPI Cx keyhandler always print something
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 <[email protected]>
xen/arch/x86/acpi/cpu_idle.c +2 -1
@@ -102,6 +102,7 @@ {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 ) {register_keyhandler ( -'c' , dump_cx,"dump cx structures" ); +'c' , dump_cx,"dump ACPI Cx structures" );return 0 ; }__initcall (cpu_idle_key_init);
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel