ia64/xen-unstable

changeset 19400:4616acf91797

cpuidle and xenpm small cleanups.

Signed-off-by: Guanqun Lu <guanqun.lu@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 19 10:10:31 2009 +0000 (2009-03-19)
parents cbdc022b0035
children e2ada9d65bca
files tools/misc/xenpm.c xen/arch/x86/acpi/cpu_idle.c
line diff
     1.1 --- a/tools/misc/xenpm.c	Thu Mar 19 10:09:59 2009 +0000
     1.2 +++ b/tools/misc/xenpm.c	Thu Mar 19 10:10:31 2009 +0000
     1.3 @@ -16,9 +16,6 @@
     1.4   * Place - Suite 330, Boston, MA 02111-1307 USA.
     1.5   */
     1.6  
     1.7 -/* to eliminate warning on `strndup' */
     1.8 -#define _GNU_SOURCE
     1.9 -
    1.10  #include <stdio.h>
    1.11  #include <stdlib.h>
    1.12  #include <unistd.h>
     2.1 --- a/xen/arch/x86/acpi/cpu_idle.c	Thu Mar 19 10:09:59 2009 +0000
     2.2 +++ b/xen/arch/x86/acpi/cpu_idle.c	Thu Mar 19 10:10:31 2009 +0000
     2.3 @@ -220,15 +220,9 @@ static void acpi_processor_idle(void)
     2.4      if ( !cx )
     2.5      {
     2.6          if ( pm_idle_save )
     2.7 -        {
     2.8 -            printk(XENLOG_DEBUG "call pm_idle_save()\n");
     2.9              pm_idle_save();
    2.10 -        }
    2.11          else
    2.12 -        {
    2.13 -            printk(XENLOG_DEBUG "call acpi_safe_halt()\n");
    2.14              acpi_safe_halt();
    2.15 -        }
    2.16          return;
    2.17      }
    2.18