Skip to contentSkip to conversation

SMP timer and irq fixes for 2.6. Merge x86/64 time.c with i386.

Xen-changelog Ryan Harper 1 participant 1 message Apr 6, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 13 lines · BitKeeper Bot

ChangeSet 1.1452, 2005/04/05 13:07:37+01:00, [email protected]

SMP timer and irq fixes for 2.6. Merge x86/64 time.c with i386.

 b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/smpboot.c  |   65 -
 b/linux-2.6.11-xen-sparse/arch/xen/i386/kernel/time.c     |  126 --
 b/linux-2.6.11-xen-sparse/arch/xen/i386/mm/hypervisor.c   |    4 
 b/linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/Makefile |    4 
 linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/time.c     |  840 --------------
 5 files changed, 91 insertions(+), 948 deletions(-)

<snip>

Review line 480

Quoted 9 lines
(quoted diff) +1 -1
@@ -472,7 +474,7 @@
 	while (!cpu_isset(smp_processor_id(), smp_commenced_mask))
 		rep_nop();
 	local_setup_timer();
-	local_setup_debug();	/* XXX */
+	ldebug_setup();
 	smp_intr_init();
 	local_irq_enable();
 	/*

All of the local_setup/_setup() routines are only run when a secondary cpu is booted. I didn't see that they were run on the boot cpu. Is that a problem? I would have thought that you would want the timer interrupt as well as the debug interrupt handler to be running on all cpus.

--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253 T/L: 678-9253
[email protected]