All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Hamie <hamish@travellingkiwi.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.7-mm4 compile buglet
Date: Tue, 29 Jun 2004 14:29:29 -0700	[thread overview]
Message-ID: <20040629142929.14e1b746.akpm@osdl.org> (raw)
In-Reply-To: <40E1DCD0.7090604@travellingkiwi.com>

Hamie <hamish@travellingkiwi.com> wrote:
>
> drivers/built-in.o(.init.text+0x90ed): In function `do_wrlvtpc':
> : undefined reference to `apic_write'

You'll need to disable CONFIG_PERFCTR or apply the below patch.




--- linux-2.6.7-mm4/drivers/perfctr/x86_tests.c.~1~	2004-06-29 12:43:27.000000000 +0200
+++ linux-2.6.7-mm4/drivers/perfctr/x86_tests.c	2004-06-29 13:26:26.000000000 +0200
@@ -44,6 +44,11 @@
 #define CR4MOV	"movl"
 #endif
 
+#ifndef PERFCTR_INTERRUPT_SUPPORT
+#undef apic_write
+#define apic_write(reg,vector)			do{}while(0)
+#endif
+
 static void __init do_rdpmc(unsigned pmc, unsigned unused2)
 {
 	unsigned i;

  reply	other threads:[~2004-06-29 21:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29 21:19 2.6.7-mm4 compile buglet Hamie
2004-06-29 21:29 ` Andrew Morton [this message]
2004-06-29 21:47   ` Hamie
  -- strict thread matches above, loose matches on Subject: below --
2004-06-30 12:23 Mikael Pettersson

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=20040629142929.14e1b746.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=hamish@travellingkiwi.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.