lkml.org 
[lkml]   [2006]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] arch/i386/kernel/apic.c: make modern_apic() static
    This patch makes a nnedlessly global function static.

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

    ---

    arch/i386/kernel/apic.c | 2 +-
    include/asm-i386/apic.h | 2 --
    2 files changed, 1 insertion(+), 3 deletions(-)

    --- linux-2.6.16-mm2-full/include/asm-i386/apic.h.old 2006-03-31 15:32:14.000000000 +0200
    +++ linux-2.6.16-mm2-full/include/asm-i386/apic.h 2006-03-31 15:32:22.000000000 +0200
    @@ -139,8 +139,6 @@

    extern int timer_over_8254;

    -extern int modern_apic(void);
    -
    #else /* !CONFIG_X86_LOCAL_APIC */
    static inline void lapic_shutdown(void) { }

    --- linux-2.6.16-mm2-full/arch/i386/kernel/apic.c.old 2006-03-31 15:32:30.000000000 +0200
    +++ linux-2.6.16-mm2-full/arch/i386/kernel/apic.c 2006-03-31 15:32:36.000000000 +0200
    @@ -62,7 +62,7 @@

    static void apic_pm_activate(void);

    -int modern_apic(void)
    +static int modern_apic(void)
    {
    unsigned int lvr, version;
    /* AMD systems use old APIC versions, so check the CPU */
    -
    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: 2006-03-31 16:59    [W:0.022 / U:0.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site