# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 072fb38810a60dcfd14b599f0dcdf2eac89a1143
# Parent 8f8e42887f09da773da6c5293f0553b3b540e0fb
Revert changes checked in by mistake in previous changeset.
diff -r 8f8e42887f09 -r 072fb38810a6
linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c Wed Oct 5
14:05:38 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/process.c Wed Oct 5
14:15:50 2005
@@ -94,7 +94,7 @@
}
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,16 +121,9 @@
/* 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();
/*
@@ -176,15 +169,10 @@
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
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|