aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-05 15:15:50 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-05 15:15:50 +0100
commita93d14138bd6424ddd78e1a397b3984c123180d4 (patch)
tree22948481ea43988393574379b2e7b4ec01e792f5
parentd56d69a03289696afdf4057d1449b21f23ca6802 (diff)
downloadxen-a93d14138bd6424ddd78e1a397b3984c123180d4.tar.gz
xen-a93d14138bd6424ddd78e1a397b3984c123180d4.tar.bz2
xen-a93d14138bd6424ddd78e1a397b3984c123180d4.zip
Revert changes checked in by mistake in previous changeset.
-rw-r--r--linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
index 4fdeed1bd5..db8cbed8cd 100644
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
@@ -94,7 +94,7 @@ void enable_hlt(void)
}
EXPORT_SYMBOL(enable_hlt);
-#define xxprint(msg) HYPERVISOR_console_io(CONSOLEIO_write, strlen(msg), msg)
+
/* XXX XEN doesn't use default_idle(), poll_idle(). Use xen_idle() instead. */
extern void stop_hz_timer(void);
extern void start_hz_timer(void);
@@ -121,17 +121,10 @@ extern void smp_resume(void);
/* We don't actually take CPU down, just spin without interrupts. */
static inline void play_dead(void)
{
- char foo[100];
-
- sprintf(foo, "cpu=%d stack=%p\n", smp_processor_id(), foo);
- xxprint(foo);
-
/* Death loop */
while (__get_cpu_var(cpu_state) != CPU_UP_PREPARE)
HYPERVISOR_sched_op(SCHEDOP_yield, 0);
- xxprint("Out of loop\n");
-
__flush_tlb_all();
/*
* Restore IPI/IRQ mappings before marking online to prevent
@@ -176,15 +169,10 @@ void cpu_idle (void)
rmb();
if (cpu_is_offline(cpu)) {
- char foo[100];
local_irq_disable();
#ifdef CONFIG_SMP
smp_suspend();
#endif
-
- sprintf(foo, "X cpu=%d stack=%p\n",
- cpu, &cpu);
- xxprint(foo);
#if defined(CONFIG_XEN) && defined(CONFIG_HOTPLUG_CPU)
/* Ack it. From this point on until
we get woken up, we're not allowed