diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-03-19 10:10:31 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-03-19 10:10:31 +0000 |
commit | b21c09a4ff93cce1dce57b94dfbbddffca400d80 (patch) | |
tree | 5487c9511455b0d6dd863fb31cfbb825fe2e2e01 | |
parent | cb4343bf2efe0bea12f8729e0de8bbaa13f19438 (diff) | |
download | xen-b21c09a4ff93cce1dce57b94dfbbddffca400d80.tar.gz xen-b21c09a4ff93cce1dce57b94dfbbddffca400d80.tar.bz2 xen-b21c09a4ff93cce1dce57b94dfbbddffca400d80.zip |
cpuidle and xenpm small cleanups.
Signed-off-by: Guanqun Lu <guanqun.lu@intel.com>
-rw-r--r-- | tools/misc/xenpm.c | 3 | ||||
-rw-r--r-- | xen/arch/x86/acpi/cpu_idle.c | 6 |
2 files changed, 0 insertions, 9 deletions
diff --git a/tools/misc/xenpm.c b/tools/misc/xenpm.c index 6dd4c691fe..5f7fbc0617 100644 --- a/tools/misc/xenpm.c +++ b/tools/misc/xenpm.c @@ -16,9 +16,6 @@ * Place - Suite 330, Boston, MA 02111-1307 USA. */ -/* to eliminate warning on `strndup' */ -#define _GNU_SOURCE - #include <stdio.h> #include <stdlib.h> #include <unistd.h> diff --git a/xen/arch/x86/acpi/cpu_idle.c b/xen/arch/x86/acpi/cpu_idle.c index ede3ec1df6..f8302d1f54 100644 --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.c @@ -220,15 +220,9 @@ static void acpi_processor_idle(void) if ( !cx ) { if ( pm_idle_save ) - { - printk(XENLOG_DEBUG "call pm_idle_save()\n"); pm_idle_save(); - } else - { - printk(XENLOG_DEBUG "call acpi_safe_halt()\n"); acpi_safe_halt(); - } return; } |