[PATCH] arch/i386/kernel/apic.c: make modern_apic() static
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
c22ce143d1
commit
a0b4da91f4
@@ -62,7 +62,7 @@ int apic_verbosity;
|
|||||||
|
|
||||||
static void apic_pm_activate(void);
|
static void apic_pm_activate(void);
|
||||||
|
|
||||||
int modern_apic(void)
|
static int modern_apic(void)
|
||||||
{
|
{
|
||||||
unsigned int lvr, version;
|
unsigned int lvr, version;
|
||||||
/* AMD systems use old APIC versions, so check the CPU */
|
/* AMD systems use old APIC versions, so check the CPU */
|
||||||
|
@@ -138,8 +138,6 @@ void switch_ipi_to_APIC_timer(void *cpumask);
|
|||||||
|
|
||||||
extern int timer_over_8254;
|
extern int timer_over_8254;
|
||||||
|
|
||||||
extern int modern_apic(void);
|
|
||||||
|
|
||||||
#else /* !CONFIG_X86_LOCAL_APIC */
|
#else /* !CONFIG_X86_LOCAL_APIC */
|
||||||
static inline void lapic_shutdown(void) { }
|
static inline void lapic_shutdown(void) { }
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user