public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: jjluza@yahoo.fr
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [patch] voluntary-preempt-2.6.8.1-P2
Date: Mon, 16 Aug 2004 20:29:15 +0200	[thread overview]
Message-ID: <1092680955.28374.0.camel@twins> (raw)
In-Reply-To: <200408161452.44400.jjluza@yahoo.fr>

[-- Attachment #1: Type: text/plain, Size: 917 bytes --]

On Mon, 2004-08-16 at 14:52 +0200, jjluza wrote:
> 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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
-- 
Peter Zijlstra <a.p.zijlstra@chello.nl>

[-- Attachment #2: compile-fix-P2 --]
[-- Type: text/plain, Size: 1023 bytes --]

--- arch/i386/kernel/irq.c~	2004-08-16 20:01:58.835999719 +0200
+++ arch/i386/kernel/irq.c	2004-08-16 20:26:24.974943041 +0200
@@ -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? */
--- arch/i386/kernel/traps.c~	2004-08-16 20:01:58.836999745 +0200
+++ arch/i386/kernel/traps.c	2004-08-16 20:26:48.156378051 +0200
@@ -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);
--- arch/i386/mm/fault.c~	2004-08-16 20:01:58.837999771 +0200
+++ arch/i386/mm/fault.c	2004-08-16 20:27:08.181753770 +0200
@@ -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));

  reply	other threads:[~2004-08-16 18:29 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-16 12:52 [patch] voluntary-preempt-2.6.8.1-P2 jjluza
2004-08-16 18:29 ` Peter Zijlstra [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-16  2:36 [patch] voluntary-preempt-2.6.8.1-P0 Ingo Molnar
2004-08-16  2:43 ` Lee Revell
2004-08-16  3:28   ` Ingo Molnar
2004-08-16  3:36     ` Ingo Molnar
2004-08-16  3:41       ` Lee Revell
2004-08-16  3:46         ` Ingo Molnar
2004-08-16  3:54           ` Lee Revell
2004-08-16  4:05             ` [patch] voluntary-preempt-2.6.8.1-P1 Ingo Molnar
2004-08-16 11:13               ` Thomas Charbonnel
2004-08-16 11:31                 ` Ingo Molnar
2004-08-16 12:09                   ` [patch] voluntary-preempt-2.6.8.1-P2 Ingo Molnar
2004-08-16 13:26                     ` Thomas Charbonnel
2004-08-16 14:12                       ` Thomas Charbonnel
2004-08-16 14:50                         ` Thomas Charbonnel
2004-08-16 14:58                           ` Ingo Molnar
2004-08-16 15:10                             ` Thomas Charbonnel
2004-08-16 15:37                               ` Ingo Molnar
2004-08-16 16:14                                 ` Thomas Charbonnel
2004-08-17  0:04                         ` Lee Revell
2004-08-17  4:24                     ` Lee Revell
2004-08-17  7:30                       ` Ingo Molnar
2004-08-17  7:33                         ` Lee Revell
2004-08-17  8:06                         ` Lee Revell
2004-08-17 11:26                     ` Thomas Charbonnel
2004-08-19  7:49                       ` Ingo Molnar
2004-08-18 12:22                     ` Thomas Charbonnel
2004-08-18 13:30                       ` Takashi Iwai
2004-08-18 15:26                         ` Thomas Charbonnel
2004-08-18 15:46                           ` Takashi Iwai
2004-08-18 16:53                             ` Thomas Charbonnel
2004-08-19  7:47                       ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1092680955.28374.0.camel@twins \
    --to=a.p.zijlstra@chello.nl \
    --cc=jjluza@yahoo.fr \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox