lkml.org 
[lkml]   [2005]   [Apr]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] x86_64: kill obsolete check_nmi_watchdog prototype
    On Thu, Apr 07, 2005 at 09:14:19AM +0200, Mickael Marchand wrote:
    >...
    > -> compiling 2.6.12-rc2-mm1 on amd64 :
    >
    > arch/x86_64/kernel/nmi.c:116: error: static declaration of
    > 'check_nmi_watchdog' follows non-static declaration
    > include/asm/apic.h:102: error: previous declaration of
    > 'check_nmi_watchdog' was here

    Is this with gcc 4.0?

    > I guess the fix is easy enough :)
    >...

    Yup, fix below.

    > Cheers,
    > Mik

    cu
    Adrian


    <-- snip -->


    This patch kills an obsolete check_nmi_watchdog prototype
    (check_nmi_watchdog is now static) found by
    Mickael Marchand <marchand@kde.org>.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.12-rc2-mm1-full/include/asm-x86_64/apic.h.old 2005-04-08 20:12:01.000000000 +0200
    +++ linux-2.6.12-rc2-mm1-full/include/asm-x86_64/apic.h 2005-04-08 20:12:11.000000000 +0200
    @@ -99,7 +99,6 @@
    extern void enable_APIC_timer(void);
    extern void clustered_apic_check(void);

    -extern int check_nmi_watchdog(void);
    extern void nmi_watchdog_default(void);
    extern int setup_nmi_watchdog(char *);

    -
    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/

    \
     
     \ /
      Last update: 2005-04-08 20:22    [W:0.030 / U:60.472 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site