# 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
|