Skip to contentSkip to conversation

voluntary-preempt-2.6.8.1-P2

PATCH jjluza 2 participants 2 messages Aug 16, 2004

lore
Share & tools
lore

jjluza

author
#0 lore raw

It fails here at compile time with :

arch/i386/kernel/built-in.o(.text+0x2fc5): In function `do_nmi':
: undefined reference to __trace' arch/i386/kernel/built-in.o(.text+0x3723): In function do_IRQ':
: undefined reference to __trace' arch/i386/mm/built-in.o(.text+0x7ba): In function do_page_fault':
: undefined reference to `__trace'
make[1]: *** [vmlinux] Erreur 1
make[1]: Leaving directory `/usr/src/linux-2.6.8'
make: *** [stamp-build] Erreur 2

I also got offset when applying the patch. (P1 hadn't this problem)

Regards.

#1 lore raw
Quoted 22 lines · jjluza

It fails here at compile time with :

arch/i386/kernel/built-in.o(.text+0x2fc5): In function `do_nmi':
: undefined reference to __trace' arch/i386/kernel/built-in.o(.text+0x3723): In function do_IRQ':
: undefined reference to __trace' arch/i386/mm/built-in.o(.text+0x7ba): In function do_page_fault':
: undefined reference to `__trace'
make[1]: *** [vmlinux] Erreur 1
make[1]: Leaving directory `/usr/src/linux-2.6.8'
make: *** [stamp-build] Erreur 2

I also got offset when applying the patch. (P1 hadn't this problem)

Regards.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
Peter Zijlstra <[email protected]>
i386/kernel/irq.c renamed from i386/kernel/irq.c~ +2 -0
@@ -219,7 +219,9 @@
 	unsigned int status;
 
 	irq_enter();
+#ifdef CONFIG_LATENCY_TRACE
 	__trace((unsigned long)do_IRQ, regs.eip);
+#endif
 
 #ifdef CONFIG_DEBUG_STACKOVERFLOW
 	/* Debugging check for stack overflow: is there less than 1KB free? */
i386/kernel/traps.c renamed from i386/kernel/traps.c~ +2 -0
@@ -537,7 +537,9 @@
 	int cpu;
 
 	nmi_enter();
+#ifdef CONFIG_LATENCY_TRACE
 	__trace((unsigned long)do_nmi, regs->eip);
+#endif
 
 	cpu = smp_processor_id();
 	++nmi_count(cpu);
i386/mm/fault.c renamed from i386/mm/fault.c~ +2 -0
@@ -223,7 +223,9 @@
 	int write;
 	siginfo_t info;
 
+#ifdef CONFIG_LATENCY_TRACE
 	__trace((unsigned long)do_page_fault, regs->eip);
+#endif
 
 	/* get the address */
 	__asm__("movl %%cr2,%0":"=r" (address));