WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] remove xen_idle()

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] remove xen_idle()
From: Xen patchbot-linux-ppc-2.6 <patchbot-linux-ppc-2.6@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Oct 2006 21:11:20 +0000
Delivery-date: Tue, 17 Oct 2006 14:18:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
# Node ID ad4044d0582162bf98e21bbe6a9c5c3d400e659f
# Parent  933b1d114a89abe409b50b948c39d3b28dd3e02f
[LINUX][XEN][POWERPC] remove xen_idle()

It is dead code now

Signed-off-by: Jimi Xenidis <jimix@xxxxxxxxxxxxxx>
---
 arch/powerpc/platforms/xen/setup.c |   20 --------------------
 1 files changed, 20 deletions(-)

diff -r 933b1d114a89 -r ad4044d05821 arch/powerpc/platforms/xen/setup.c
--- a/arch/powerpc/platforms/xen/setup.c        Mon Oct 16 09:31:03 2006 -0400
+++ b/arch/powerpc/platforms/xen/setup.c        Tue Oct 17 17:01:57 2006 -0400
@@ -1,6 +1,5 @@
 
 #define DEBUG
-#undef XENPPC_USE_IDLE
 #define CONFIG_SHARE_MPIC
 
 #include <linux/module.h>
@@ -169,21 +168,6 @@ static void xen_power_save(void)
        HYPERVISOR_sched_op(SCHEDOP_block, NULL);
 }
 
-#ifdef XENPPC_USE_IDLE
-static void xen_idle(void)
-{
-       while (1) {
-               local_irq_disable();
-               if (!need_resched()) {
-                       xen_power_save();
-               }
-               local_irq_enable();
-
-               schedule();
-       }
-}
-#endif
-
 #ifdef CONFIG_SMP
 
 int __init smp_xen_probe(void)
@@ -303,11 +287,7 @@ define_machine(xen) {
        .get_rtc_time           = 0,
        .calibrate_decr         = generic_calibrate_decr,
        .progress               = xen_progress,
-#ifdef XENPPC_USE_IDLE
-       .idle_loop              = xen_idle,
-#else
        .power_save             = xen_power_save,
-#endif
 #ifdef CONFIG_KEXEC
        .machine_kexec          = xen_machine_kexec,
        .machine_kexec_prepare  = xen_machine_kexec_prepare,

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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [linux-ppc-2.6] [LINUX][XEN][POWERPC] remove xen_idle(), Xen patchbot-linux-ppc-2 . 6 <=