Skip to content

Commit

Permalink
[PATCH] arch/i386/kernel/apic.c: make modern_apic() static
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Jun 23, 2006
1 parent c22ce14 commit a0b4da9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion arch/i386/kernel/apic.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ int apic_verbosity;

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 */
Expand Down
2 changes: 0 additions & 2 deletions include/asm-i386/apic.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,6 @@ void switch_ipi_to_APIC_timer(void *cpumask);

extern int timer_over_8254;

extern int modern_apic(void);

#else /* !CONFIG_X86_LOCAL_APIC */
static inline void lapic_shutdown(void) { }

Expand Down

0 comments on commit a0b4da9

Please sign in to comment.