Re: 2.6.7-mm4 compile buglet

From: Andrew Morton (akpm_at_osdl.org)
Date: 06/29/04

  • Next message: Florian Weimer: "Re: TCP-RST Vulnerability - Doubt"
    Date:	Tue, 29 Jun 2004 14:29:29 -0700
    To: Hamie <hamish@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;
    -
    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/


  • Next message: Florian Weimer: "Re: TCP-RST Vulnerability - Doubt"

    Relevant Pages