[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] cpuidle and xenpm small cleanups.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1237457431 0
# Node ID 4616acf91797fa909673f35cf2a70a728e1ff468
# Parent  cbdc022b003561ba2ed5838aa47a81120f283adf
cpuidle and xenpm small cleanups.

Signed-off-by: Guanqun Lu <guanqun.lu@xxxxxxxxx>
---
 tools/misc/xenpm.c           |    3 ---
 xen/arch/x86/acpi/cpu_idle.c |    6 ------
 2 files changed, 9 deletions(-)

diff -r cbdc022b0035 -r 4616acf91797 tools/misc/xenpm.c
--- a/tools/misc/xenpm.c        Thu Mar 19 10:09:59 2009 +0000
+++ b/tools/misc/xenpm.c        Thu Mar 19 10:10:31 2009 +0000
@@ -15,9 +15,6 @@
  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
  * Place - Suite 330, Boston, MA 02111-1307 USA.
  */
-
-/* to eliminate warning on `strndup' */
-#define _GNU_SOURCE
 
 #include <stdio.h>
 #include <stdlib.h>
diff -r cbdc022b0035 -r 4616acf91797 xen/arch/x86/acpi/cpu_idle.c
--- a/xen/arch/x86/acpi/cpu_idle.c      Thu Mar 19 10:09:59 2009 +0000
+++ b/xen/arch/x86/acpi/cpu_idle.c      Thu Mar 19 10:10:31 2009 +0000
@@ -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;
     }
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.