lkml.org 
[lkml]   [2014]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:x86/apic] x86/apic: Remove unused function prototypes
    Commit-ID:  6d4989835e5418fdfda764fce7294246f80cf464
    Gitweb: http://git.kernel.org/tip/6d4989835e5418fdfda764fce7294246f80cf464
    Author: David Rientjes <rientjes@google.com>
    AuthorDate: Tue, 4 Feb 2014 23:55:04 -0800
    Committer: Ingo Molnar <mingo@kernel.org>
    CommitDate: Sun, 9 Feb 2014 15:15:09 +0100

    x86/apic: Remove unused function prototypes

    Some function prototypes declared in asm/apic.h are never
    defined, so remove them.

    Signed-off-by: David Rientjes <rientjes@google.com>
    Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
    Link: http://lkml.kernel.org/r/alpine.DEB.2.02.1402042354210.7839@chino.kir.corp.google.com
    Signed-off-by: Ingo Molnar <mingo@kernel.org>
    ---
    arch/x86/include/asm/apic.h | 4 ----
    1 file changed, 4 deletions(-)

    diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
    index c1d3074..b4c561d 100644
    --- a/arch/x86/include/asm/apic.h
    +++ b/arch/x86/include/asm/apic.h
    @@ -93,9 +93,6 @@ static inline int is_vsmp_box(void)
    return 0;
    }
    #endif
    -extern void xapic_wait_icr_idle(void);
    -extern u32 safe_xapic_wait_icr_idle(void);
    -extern void xapic_icr_write(u32, u32);
    extern int setup_profiling_timer(unsigned int);

    static inline void native_apic_mem_write(u32 reg, u32 v)
    @@ -184,7 +181,6 @@ extern int x2apic_phys;
    extern int x2apic_preenabled;
    extern void check_x2apic(void);
    extern void enable_x2apic(void);
    -extern void x2apic_icr_write(u32 low, u32 id);
    static inline int x2apic_enabled(void)
    {
    u64 msr;

    \
     
     \ /
      Last update: 2014-02-14 15:41    [W:3.083 / U:0.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site