Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S266085AbUF2VsG (ORCPT ); Tue, 29 Jun 2004 17:48:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S266088AbUF2VsG (ORCPT ); Tue, 29 Jun 2004 17:48:06 -0400 Received: from damned.travellingkiwi.com ([81.6.239.220]:35115 "EHLO ballbreaker.travellingkiwi.com") by vger.kernel.org with ESMTP id S266085AbUF2VsC (ORCPT ); Tue, 29 Jun 2004 17:48:02 -0400 Message-ID: <40E1E37C.4030603@travellingkiwi.com> Date: Tue, 29 Jun 2004 22:47:40 +0100 From: Hamie User-Agent: Mozilla Thunderbird 0.6 (X11/20040605) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Morton Cc: linux-kernel@vger.kernel.org Subject: Re: 2.6.7-mm4 compile buglet References: <40E1DCD0.7090604@travellingkiwi.com> <20040629142929.14e1b746.akpm@osdl.org> In-Reply-To: <20040629142929.14e1b746.akpm@osdl.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1073 Lines: 42 Andrew Morton wrote: >Hamie 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. - 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/