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

Andrew Morton wrote:

>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;
>  
>
Ah right... I didn't trace it back to what was calling it sorry, or else 
I might (maybe... honest) have realised that.

TIA
Hamish.


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

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-29 21:19 Hamie
2004-06-29 21:29 ` Andrew Morton
2004-06-29 21:47   ` Hamie [this message]
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=40E1E37C.4030603@travellingkiwi.com \
    --to=hamish@travellingkiwi.com \
    --cc=akpm@osdl.org \
    --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

all inboxes | Powered by JetHome®